Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001428/0.001428, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] 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.001479/0.001479, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1862/0.1862, allocations: 38.52 MB / 353.2 MB, free: 12.52 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems 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.002058/0.002058, allocations: 63.91 kB / 493.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 62.47 MB / 0.5428 GB, free: 292 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.008129/0.3425, allocations: 4.87 MB / 0.5475 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.3452, allocations: 1.384 MB / 0.5489 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.3456, allocations: 25.62 kB / 0.5489 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.3469, allocations: 417 kB / 0.5493 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006063/0.3476, allocations: 240.9 kB / 0.5495 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.3481, allocations: 185.7 kB / 0.5497 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006448/0.3488, allocations: 0.5559 MB / 0.5502 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004923/0.3493, allocations: 264.9 kB / 0.5505 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005117/0.3498, allocations: 260.3 kB / 0.5508 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004991/0.3503, allocations: 293 kB / 0.551 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.3503, allocations: 31.41 kB / 0.5511 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.3507, allocations: 149.9 kB / 0.5512 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.3509, allocations: 186.1 kB / 0.5514 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.3512, allocations: 231.8 kB / 0.5516 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006965/0.3519, allocations: 0.5218 MB / 0.5521 GB, free: 9.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3519, allocations: 0 / 0.5521 GB, free: 9.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3519, allocations: 0 / 0.5521 GB, free: 9.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3519, allocations: 1.125 kB / 0.5521 GB, free: 9.207 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001203/0.3531, allocations: 0.6585 MB / 0.5528 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3531, allocations: 13.5 kB / 0.5528 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.169e-05/0.3531, allocations: 14.09 kB / 0.5528 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.393e-05/0.3532, allocations: 80.92 kB / 0.5529 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007208/0.354, allocations: 84.47 kB / 0.5529 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000702/0.3547, allocations: 357.5 kB / 0.5533 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.3547, allocations: 34.34 kB / 0.5533 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.3548, allocations: 35.84 kB / 0.5533 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/0.3556, allocations: 482.7 kB / 0.5538 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.3556, allocations: 3.938 kB / 0.5538 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.3557, allocations: 11.62 kB / 0.5538 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.3558, allocations: 29.42 kB / 0.5539 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005969/0.3564, allocations: 344.7 kB / 0.5542 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.3588, allocations: 1.554 MB / 0.5557 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.3592, allocations: 173.6 kB / 0.5559 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.3594, allocations: 108.6 kB / 0.556 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.3594, allocations: 10.23 kB / 0.556 GB, free: 6.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3594, allocations: 32.88 kB / 0.556 GB, free: 6.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/0.3594, allocations: 0 / 0.556 GB, free: 6.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001356/0.3608, allocations: 0.7211 MB / 0.5567 GB, free: 5.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.3608, allocations: 79.73 kB / 0.5568 GB, free: 5.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.3612, allocations: 307.4 kB / 0.5571 GB, free: 5.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.3612, allocations: 29.7 kB / 0.5571 GB, free: 5.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.3614, allocations: 260 kB / 0.5574 GB, free: 5.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.3615, allocations: 79.31 kB / 0.5574 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3616, allocations: 65.64 kB / 0.5575 GB, free: 5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3617, allocations: 338.8 kB / 0.5578 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.3619, allocations: 99.97 kB / 0.5579 GB, free: 4.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.3622, allocations: 196.8 kB / 0.5581 GB, free: 4.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.3626, allocations: 328.4 kB / 0.5584 GB, free: 3.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3626, allocations: 4 kB / 0.5584 GB, free: 3.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008513/0.3635, allocations: 424 kB / 0.5588 GB, free: 3.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3635, allocations: 4 kB / 0.5588 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005286/0.364, allocations: 264.7 kB / 0.5591 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003489/0.3644, allocations: 80.78 kB / 0.5592 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.3646, allocations: 67.89 kB / 0.5592 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.3664, allocations: 1.615 MB / 0.5608 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.3666, allocations: 15.98 kB / 0.5608 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.3666, allocations: 16 kB / 0.5608 GB, free: 1.348 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002511/0.3669, allocations: 185.8 kB / 0.561 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.367, allocations: 35.75 kB / 0.561 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.3674, allocations: 271.7 kB / 0.5613 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3674, allocations: 0 / 0.5613 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.3674, allocations: 0 / 0.5613 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3675, allocations: 7.938 kB / 0.5613 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.3687, allocations: 0.7216 MB / 0.562 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3687, allocations: 0 / 0.562 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.369, allocations: 55.91 kB / 0.5621 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.369, allocations: 7.938 kB / 0.5621 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.369, allocations: 4 kB / 0.5621 GB, free: 0 / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-05/0.3691, allocations: 4.047 kB / 0.5621 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3691, allocations: 0 / 0.5621 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.3697, allocations: 460.7 kB / 0.5625 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.3697, allocations: 35.78 kB / 0.5626 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.3698, allocations: 8 kB / 0.5626 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.3699, allocations: 4.234 kB / 0.5626 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.37, allocations: 19.97 kB / 0.5626 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.37, allocations: 11.88 kB / 0.5626 GB, free: 15.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.3702, allocations: 223 kB / 0.5628 GB, free: 15.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3702, allocations: 0 / 0.5628 GB, free: 15.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.3707, allocations: 84 kB / 0.5629 GB, free: 15.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009155/0.3716, allocations: 0.9902 MB / 0.5639 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006857/0.3723, allocations: 366.3 kB / 0.5642 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3723, allocations: 0.875 kB / 0.5642 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.3725, allocations: 104 kB / 0.5643 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.373, allocations: 64.38 kB / 0.5644 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/0.3778, allocations: 3.547 MB / 0.5678 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.3783, allocations: 0.8537 MB / 0.5687 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.3785, allocations: 66.91 kB / 0.5687 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.3787, allocations: 135.4 kB / 0.5689 GB, free: 8.781 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3787, allocations: 0 / 0.5689 GB, free: 8.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.4124, allocations: 7.549 MB / 0.5762 GB, free: 1.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.49, allocations: 12.41 kB / 0.5762 GB, free: 1.363 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.43600059201708] Failed to read output from testmodel.py, exit status != 0: 12.661988248000853 12.687324386 12.330809307 Calling exit ...