Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 103.6 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 252.7 MB, free: 14.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 217.8 kB / 309.2 MB, free: 3.102 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6402/0.6402, allocations: 107.3 MB / 473 MB, free: 29.8 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002554/0.002554, allocations: 91.44 kB / 0.6332 GB, free: 29.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1685, allocations: 80.17 MB / 0.7115 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006184/0.1747, allocations: 4.398 MB / 0.7158 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.1783, allocations: 1.576 MB / 0.7173 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005284/0.1788, allocations: 4 kB / 0.7173 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.1793, allocations: 154.7 kB / 0.7175 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.1811, allocations: 0.6812 MB / 0.7182 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009525/0.1821, allocations: 406.4 kB / 0.7185 GB, free: 384 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.1834, allocations: 1.09 MB / 0.7196 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.1838, allocations: 138.8 kB / 0.7197 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006589/0.1844, allocations: 474.1 kB / 0.7202 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/0.1851, allocations: 0.5055 MB / 0.7207 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.1853, allocations: 100 kB / 0.7208 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005288/0.1858, allocations: 243.9 kB / 0.721 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.1861, allocations: 231.1 kB / 0.7212 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000407/0.1865, allocations: 390 kB / 0.7216 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.1881, allocations: 1.284 MB / 0.7229 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1881, allocations: 4 kB / 0.7229 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1881, allocations: 0 / 0.7229 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.1881, allocations: 0 / 0.7229 GB, free: 11.92 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.005761/0.1939, allocations: 1.723 MB / 0.7246 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.1939, allocations: 16.03 kB / 0.7246 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.1941, allocations: 90.7 kB / 0.7247 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003456/0.1975, allocations: 0.5267 MB / 0.7252 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.1987, allocations: 0.5782 MB / 0.7257 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.199, allocations: 197.4 kB / 0.7259 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.1991, allocations: 52 kB / 0.726 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.2005, allocations: 0.6584 MB / 0.7266 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.2005, allocations: 0 / 0.7266 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/0.2006, allocations: 16 kB / 0.7266 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.2006, allocations: 15.94 kB / 0.7266 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.202, allocations: 0.6247 MB / 0.7273 GB, free: 7.32 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005081/0.2071, allocations: 2.104 MB / 0.7293 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.2196, allocations: 2.608 MB / 0.7319 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.2207, allocations: 410.1 kB / 0.7322 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.522e-05/0.2208, allocations: 4.5 kB / 0.7322 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.2209, allocations: 39.06 kB / 0.7323 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=57): time 4.007e-06/0.2209, allocations: 0 / 0.7323 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57): time 0.01356/0.2344, allocations: 3.284 MB / 0.7355 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.2345, allocations: 63.84 kB / 0.7356 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.2358, allocations: 0.7739 MB / 0.7363 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.236, allocations: 37.7 kB / 0.7363 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.2363, allocations: 361.1 kB / 0.7367 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.2366, allocations: 218.2 kB / 0.7369 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/0.2369, allocations: 170.6 kB / 0.7371 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002586/0.2372, allocations: 390.7 kB / 0.7374 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.2383, allocations: 0.4939 MB / 0.7379 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.2396, allocations: 0.5992 MB / 0.7385 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/0.2563, allocations: 3.666 MB / 0.7421 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.2564, allocations: 0 / 0.7421 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007628/0.264, allocations: 2.388 MB / 0.7444 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.264, allocations: 4 kB / 0.7444 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.264, allocations: 4 kB / 0.7444 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/0.2684, allocations: 1.049 MB / 0.7454 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008805/0.2693, allocations: 151.7 kB / 0.7456 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.2806, allocations: 4.876 MB / 0.7504 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.282, allocations: 115.4 kB / 0.7505 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.2821, allocations: 28 kB / 0.7505 GB, free: 15.18 MB / 0.5294 GB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006199/0.2827, allocations: 213.7 kB / 0.7507 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.2829, allocations: 83.42 kB / 0.7508 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006316/0.2892, allocations: 1.928 MB / 0.7527 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.2892, allocations: 4 kB / 0.7527 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.2892, allocations: 4 kB / 0.7527 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.2893, allocations: 7.984 kB / 0.7527 GB, free: 12.92 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007988/0.2972, allocations: 2.676 MB / 0.7553 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.2972, allocations: 0 / 0.7553 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.2977, allocations: 67.89 kB / 0.7553 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003519/0.3012, allocations: 0.9333 MB / 0.7563 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.3013, allocations: 19.98 kB / 0.7563 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009208/0.3106, allocations: 3.92 MB / 0.7601 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.3106, allocations: 7.938 kB / 0.7601 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007608/0.3182, allocations: 2.51 MB / 0.7626 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.3185, allocations: 107.3 kB / 0.7627 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.3187, allocations: 12 kB / 0.7627 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/0.3195, allocations: 51.94 kB / 0.7627 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003775/0.3198, allocations: 132.2 kB / 0.7629 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.3199, allocations: 12 kB / 0.7629 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007841/0.3207, allocations: 0.5225 MB / 0.7634 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.3207, allocations: 192 / 0.7634 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009843/0.3216, allocations: 299.7 kB / 0.7637 GB, free: 1.445 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007959/0.3296, allocations: 3.074 MB / 0.7667 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00469/0.3343, allocations: 1.493 MB / 0.7681 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.3343, allocations: 4.438 kB / 0.7681 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003009/0.3373, allocations: 0.8894 MB / 0.769 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/0.338, allocations: 62.86 kB / 0.7691 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02419/0.3622, allocations: 9.902 MB / 0.7787 GB, free: 1.758 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.3626, allocations: 352.6 kB / 0.7791 GB, free: 1.387 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003995/0.363, allocations: 69.2 kB / 0.7791 GB, free: 1.316 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/0.3635, allocations: 295.3 kB / 0.7794 GB, free: 1.027 MB / 0.545 GB Notification: Performance of SimCode: time 1.683e-06/0.3635, allocations: 0 / 0.7794 GB, free: 1.027 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06618/0.4297, allocations: 23.69 MB / 0.8025 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.23, allocations: 3.938 kB / 0.8025 GB, free: 9.516 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.044959550723433] Failed to read output from testmodel.py, exit status != 0: 13.35242729075253 13.716787437 13.525607358 Calling exit ...