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.001352/0.001352, allocations: 115.9 kB / 20.44 MB, free: 1.465 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.001494/0.001494, allocations: 212.9 kB / 23.74 MB, free: 4.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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.263/0.263, 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.001983/0.001983, allocations: 75.88 kB / 492.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3629, allocations: 62.47 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.007819/0.3707, allocations: 4.674 MB / 0.5466 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.3741, allocations: 1.463 MB / 0.548 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.3744, allocations: 19.41 kB / 0.548 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.3755, allocations: 311.6 kB / 0.5483 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007469/0.3763, allocations: 279.2 kB / 0.5486 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.3771, allocations: 258 kB / 0.5488 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009552/0.3781, allocations: 0.6631 MB / 0.5495 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.3785, allocations: 217.9 kB / 0.5497 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000629/0.3791, allocations: 310.2 kB / 0.55 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000824/0.3799, allocations: 445.9 kB / 0.5504 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.3801, allocations: 44.78 kB / 0.5504 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006456/0.3807, allocations: 236 kB / 0.5507 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003296/0.381, allocations: 259.6 kB / 0.5509 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.3814, allocations: 292.5 kB / 0.5512 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.3827, allocations: 0.7554 MB / 0.5519 GB, free: 9.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3827, allocations: 1.156 kB / 0.5519 GB, free: 9.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3827, allocations: 0 / 0.5519 GB, free: 9.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.3827, allocations: 0 / 0.5519 GB, free: 9.059 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.001993/0.3847, allocations: 0.8242 MB / 0.5527 GB, free: 8.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.3848, allocations: 12.95 kB / 0.5528 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001507/0.3849, allocations: 99.48 kB / 0.5528 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007324/0.3857, allocations: 127.4 kB / 0.553 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008351/0.3865, allocations: 377.3 kB / 0.5533 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.3865, allocations: 29.67 kB / 0.5534 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.904e-05/0.3866, allocations: 43.34 kB / 0.5534 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.3882, allocations: 0.8572 MB / 0.5542 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.3882, allocations: 2.375 kB / 0.5542 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.3883, allocations: 20.58 kB / 0.5543 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.3884, allocations: 59.92 kB / 0.5543 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.3897, allocations: 0.8054 MB / 0.5551 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004358/0.394, allocations: 2.63 MB / 0.5577 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.3951, allocations: 0.4977 MB / 0.5582 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.3956, allocations: 358.6 kB / 0.5585 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.3957, allocations: 4 kB / 0.5585 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.3957, allocations: 42.48 kB / 0.5585 GB, free: 3.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.836e-06/0.3957, allocations: 4 kB / 0.5585 GB, free: 3.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003226/0.3989, allocations: 1.811 MB / 0.5603 GB, free: 1.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.399, allocations: 142.7 kB / 0.5604 GB, free: 1.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.3994, allocations: 304.4 kB / 0.5607 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.3994, allocations: 25.7 kB / 0.5608 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.3996, allocations: 264.9 kB / 0.561 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.3998, allocations: 194.3 kB / 0.5612 GB, free: 496 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.4, allocations: 110.2 kB / 0.5613 GB, free: 380 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.4002, allocations: 354.7 kB / 0.5616 GB, free: 16 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.4007, allocations: 344.9 kB / 0.562 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.4013, allocations: 477.8 kB / 0.5624 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.4026, allocations: 0.9798 MB / 0.5634 GB, free: 14.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4026, allocations: 0 / 0.5634 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001525/0.4041, allocations: 0.985 MB / 0.5643 GB, free: 13.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.4042, allocations: 77.59 kB / 0.5644 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.4042, allocations: 4 kB / 0.5644 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.4044, allocations: 45.39 kB / 0.5645 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.4048, allocations: 87.83 kB / 0.5646 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.4063, allocations: 1.448 MB / 0.566 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.4066, allocations: 35.91 kB / 0.566 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.4066, allocations: 27.94 kB / 0.566 GB, free: 11.26 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.0004354/0.4071, allocations: 303.2 kB / 0.5663 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.4072, allocations: 43.72 kB / 0.5664 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.409, allocations: 1.091 MB / 0.5674 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/0.409, allocations: 15.97 kB / 0.5674 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.409, allocations: 0 / 0.5674 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.409, allocations: 4 kB / 0.5674 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.4117, allocations: 1.759 MB / 0.5692 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4117, allocations: 4.062 kB / 0.5692 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.412, allocations: 55.89 kB / 0.5692 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.4121, allocations: 36.84 kB / 0.5693 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.4122, allocations: 15.98 kB / 0.5693 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.4136, allocations: 1.444 MB / 0.5707 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4136, allocations: 0 / 0.5707 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.4153, allocations: 1.182 MB / 0.5718 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.4156, allocations: 91.72 kB / 0.5719 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.4156, allocations: 15.98 kB / 0.5719 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.4159, allocations: 27.97 kB / 0.572 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.416, allocations: 47.81 kB / 0.572 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.4161, allocations: 27.98 kB / 0.572 GB, free: 4.852 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002328/0.4163, allocations: 207.1 kB / 0.5722 GB, free: 4.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4163, allocations: 3.938 kB / 0.5722 GB, free: 4.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006827/0.417, allocations: 139.9 kB / 0.5724 GB, free: 4.508 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.002207/0.4192, allocations: 1.773 MB / 0.5741 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.421, allocations: 1.148 MB / 0.5752 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.421, allocations: 0 / 0.5752 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.422, allocations: 0.6974 MB / 0.5759 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.4225, allocations: 65.05 kB / 0.576 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/0.4307, allocations: 5.906 MB / 0.5817 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/0.4314, allocations: 0.9015 MB / 0.5826 GB, free: 9.684 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002764/0.4316, allocations: 103.2 kB / 0.5827 GB, free: 9.582 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.4319, allocations: 151.4 kB / 0.5829 GB, free: 9.434 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4319, allocations: 0 / 0.5829 GB, free: 9.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05027/0.4822, allocations: 10.86 MB / 0.5935 GB, free: 14.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.5, allocations: 10.44 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.462896053002623] Failed to read output from testmodel.py, exit status != 0: 12.619326478001312 12.641975547 12.255683567 Calling exit ...