Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.001557/0.001557, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002374/0.002374, allocations: 214.6 kB / 23.75 MB, free: 4.668 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.468/1.468, allocations: 230.6 MB / 257.5 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.1855/0.1855, allocations: 38.52 MB / 352.4 MB, free: 12.55 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.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",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.002311/0.002311, allocations: 71.89 kB / 492.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3223, allocations: 62.46 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006755/0.329, allocations: 4.674 MB / 0.5466 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.3319, allocations: 1.459 MB / 0.548 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000349/0.3322, allocations: 24.44 kB / 0.548 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.3333, allocations: 314.1 kB / 0.5483 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008263/0.3341, allocations: 275.4 kB / 0.5486 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/0.3349, allocations: 266.8 kB / 0.5488 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.336, allocations: 0.6509 MB / 0.5495 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005167/0.3365, allocations: 221.9 kB / 0.5497 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007897/0.3373, allocations: 306.1 kB / 0.55 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009419/0.3383, allocations: 445 kB / 0.5504 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.3385, allocations: 45.59 kB / 0.5504 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006933/0.3392, allocations: 245.3 kB / 0.5507 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003908/0.3396, allocations: 250.5 kB / 0.5509 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006793/0.3402, allocations: 292.8 kB / 0.5512 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.3416, allocations: 0.7603 MB / 0.5519 GB, free: 9.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3416, allocations: 0 / 0.5519 GB, free: 9.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3416, allocations: 3.938 kB / 0.5519 GB, free: 9.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.516e-05/0.3416, allocations: 0 / 0.5519 GB, free: 9.051 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002182/0.3438, allocations: 0.8299 MB / 0.5527 GB, free: 8.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/0.3439, allocations: 14.02 kB / 0.5528 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000228/0.3441, allocations: 95.52 kB / 0.5529 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008921/0.345, allocations: 127.3 kB / 0.553 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009072/0.3459, allocations: 373.3 kB / 0.5533 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.3459, allocations: 37.39 kB / 0.5534 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.832e-05/0.346, allocations: 42.66 kB / 0.5534 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.3474, allocations: 0.8665 MB / 0.5543 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.3475, allocations: 1.125 kB / 0.5543 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.3475, allocations: 13.19 kB / 0.5543 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.3477, allocations: 67.05 kB / 0.5543 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.3489, allocations: 0.7904 MB / 0.5551 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.353, allocations: 2.641 MB / 0.5577 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009127/0.3539, allocations: 0.4899 MB / 0.5582 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.3544, allocations: 358.6 kB / 0.5585 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.3544, allocations: 8 kB / 0.5585 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.3545, allocations: 34.5 kB / 0.5585 GB, free: 3.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 4.779e-06/0.3545, allocations: 7.984 kB / 0.5586 GB, free: 3.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003141/0.3576, allocations: 1.818 MB / 0.5603 GB, free: 1.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.3578, allocations: 130.8 kB / 0.5605 GB, free: 1.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.3581, allocations: 308.4 kB / 0.5607 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.3582, allocations: 29.7 kB / 0.5608 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.3584, allocations: 269 kB / 0.561 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.3586, allocations: 198.3 kB / 0.5612 GB, free: 476 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.3587, allocations: 98.06 kB / 0.5613 GB, free: 372 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3589, allocations: 350.8 kB / 0.5616 GB, free: 12 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/0.3594, allocations: 344.9 kB / 0.562 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/0.36, allocations: 485.8 kB / 0.5624 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.3613, allocations: 0.976 MB / 0.5634 GB, free: 14.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3613, allocations: 4 kB / 0.5634 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001509/0.3628, allocations: 0.9816 MB / 0.5644 GB, free: 13.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.632e-05/0.3629, allocations: 81.69 kB / 0.5644 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.3629, allocations: 4 kB / 0.5644 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.3631, allocations: 40.84 kB / 0.5645 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.3635, allocations: 87.81 kB / 0.5646 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.365, allocations: 1.44 MB / 0.566 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.3653, allocations: 35.97 kB / 0.566 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/0.3654, allocations: 35.92 kB / 0.566 GB, free: 11.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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.0004068/0.3658, allocations: 307.2 kB / 0.5663 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.3659, allocations: 47.7 kB / 0.5664 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.3676, allocations: 1.083 MB / 0.5674 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.3676, allocations: 8 kB / 0.5674 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3676, allocations: 0 / 0.5674 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3676, allocations: 11.92 kB / 0.5674 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/0.3704, allocations: 1.763 MB / 0.5692 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3704, allocations: 0 / 0.5692 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.3707, allocations: 56.05 kB / 0.5692 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.3708, allocations: 40.81 kB / 0.5693 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.3709, allocations: 15.98 kB / 0.5693 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.3722, allocations: 1.444 MB / 0.5707 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3722, allocations: 3.984 kB / 0.5707 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.3739, allocations: 1.178 MB / 0.5718 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.3742, allocations: 95.72 kB / 0.5719 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.3742, allocations: 12 kB / 0.5719 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.3745, allocations: 31.95 kB / 0.572 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3746, allocations: 43.88 kB / 0.572 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/0.3747, allocations: 23.94 kB / 0.572 GB, free: 4.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.3749, allocations: 203.1 kB / 0.5722 GB, free: 4.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3749, allocations: 0 / 0.5722 GB, free: 4.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006199/0.3755, allocations: 143.9 kB / 0.5724 GB, free: 4.504 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 Backend phase and start with SimCode phase: time 0.002141/0.3776, allocations: 1.766 MB / 0.5741 GB, free: 2.703 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.3793, allocations: 1.147 MB / 0.5752 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3793, allocations: 0 / 0.5752 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.3804, allocations: 0.7052 MB / 0.5759 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.3809, allocations: 80.64 kB / 0.576 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008204/0.3891, allocations: 5.897 MB / 0.5817 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.3897, allocations: 0.9054 MB / 0.5826 GB, free: 9.672 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.39, allocations: 99.19 kB / 0.5827 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.3903, allocations: 155.4 kB / 0.5829 GB, free: 9.422 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3903, allocations: 0 / 0.5829 GB, free: 9.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04592/0.4362, allocations: 10.85 MB / 0.5935 GB, free: 14.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.62, allocations: 2.578 kB / 0.5935 GB, free: 14.7 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.400093248812482] Failed to read output from testmodel.py, exit status != 0: 12.73646810092032 12.765684927 12.418683175 Calling exit ...