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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.1 MB, free: 3.578 MB / 190.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.1937/0.1937, allocations: 38.5 MB / 342.5 MB, free: 7.988 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 70.64 kB / 478.6 MB, free: 33.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1044, allocations: 61.25 MB / 0.5272 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006539/0.1109, allocations: 4.552 MB / 0.5317 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.1138, allocations: 1.422 MB / 0.533 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.114, allocations: 11.94 kB / 0.5331 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009631/0.115, allocations: 298.7 kB / 0.5333 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006352/0.1156, allocations: 282.7 kB / 0.5336 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.1163, allocations: 255.4 kB / 0.5339 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007704/0.1171, allocations: 0.6625 MB / 0.5345 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003727/0.1174, allocations: 196 kB / 0.5347 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.1178, allocations: 306.9 kB / 0.535 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000607/0.1184, allocations: 446.7 kB / 0.5354 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.583e-05/0.1185, allocations: 44 kB / 0.5354 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.1189, allocations: 219.7 kB / 0.5357 GB, free: 8.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.1192, allocations: 263.3 kB / 0.5359 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.1195, allocations: 290.5 kB / 0.5362 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000883/0.1204, allocations: 0.7511 MB / 0.5369 GB, free: 7.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1204, allocations: 0 / 0.5369 GB, free: 7.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1204, allocations: 0 / 0.5369 GB, free: 7.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1204, allocations: 0 / 0.5369 GB, free: 7.352 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.001675/0.1221, allocations: 0.9109 MB / 0.5378 GB, free: 6.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1221, allocations: 11.89 kB / 0.5378 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.1223, allocations: 94.7 kB / 0.5379 GB, free: 6.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.1228, allocations: 96.45 kB / 0.538 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/0.1236, allocations: 436.2 kB / 0.5384 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.1237, allocations: 29.38 kB / 0.5384 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.729e-05/0.1237, allocations: 43.92 kB / 0.5385 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.125, allocations: 0.8668 MB / 0.5393 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.125, allocations: 0 / 0.5393 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-05/0.1251, allocations: 12 kB / 0.5393 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/0.1252, allocations: 68.94 kB / 0.5394 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.1264, allocations: 0.7924 MB / 0.5402 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003977/0.1304, allocations: 2.722 MB / 0.5428 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008831/0.1313, allocations: 494.2 kB / 0.5433 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.1318, allocations: 362.7 kB / 0.5437 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.1318, allocations: 8.234 kB / 0.5437 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.1318, allocations: 42.56 kB / 0.5437 GB, free: 72 kB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.294e-06/0.1319, allocations: 3.938 kB / 0.5437 GB, free: 68 kB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003106/0.135, allocations: 1.888 MB / 0.5456 GB, free: 14.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.1351, allocations: 138.8 kB / 0.5457 GB, free: 13.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.1355, allocations: 296.4 kB / 0.546 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.1355, allocations: 33.7 kB / 0.546 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.1357, allocations: 268.9 kB / 0.5463 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.1359, allocations: 190.3 kB / 0.5464 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.136, allocations: 102.2 kB / 0.5465 GB, free: 13.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1362, allocations: 358.8 kB / 0.5469 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.1367, allocations: 348.8 kB / 0.5472 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.1372, allocations: 481.8 kB / 0.5477 GB, free: 11.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.1384, allocations: 0.976 MB / 0.5486 GB, free: 10.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1384, allocations: 4 kB / 0.5486 GB, free: 10.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00152/0.14, allocations: 0.9848 MB / 0.5496 GB, free: 9.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.186e-05/0.14, allocations: 77.59 kB / 0.5497 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.1401, allocations: 4 kB / 0.5497 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.1402, allocations: 41.39 kB / 0.5497 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.1406, allocations: 99.75 kB / 0.5498 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.142, allocations: 1.543 MB / 0.5513 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.1423, allocations: 35.97 kB / 0.5513 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.1424, allocations: 31.92 kB / 0.5514 GB, free: 7.828 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.0004094/0.1428, allocations: 307.2 kB / 0.5517 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.1429, allocations: 47.72 kB / 0.5517 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.1445, allocations: 1.076 MB / 0.5528 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.1445, allocations: 12 kB / 0.5528 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1445, allocations: 4 kB / 0.5528 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.1446, allocations: 7.922 kB / 0.5528 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.1473, allocations: 1.788 MB / 0.5545 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1473, allocations: 0 / 0.5545 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.1476, allocations: 63.97 kB / 0.5546 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.1477, allocations: 32.83 kB / 0.5546 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.1478, allocations: 19.98 kB / 0.5546 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.1492, allocations: 1.547 MB / 0.5562 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1492, allocations: 4.031 kB / 0.5562 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.1508, allocations: 1.175 MB / 0.5573 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.1511, allocations: 176.8 kB / 0.5575 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.1512, allocations: 15.98 kB / 0.5575 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.1514, allocations: 23.97 kB / 0.5575 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.1516, allocations: 43.89 kB / 0.5576 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.1516, allocations: 23.92 kB / 0.5576 GB, free: 1.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.1518, allocations: 207.1 kB / 0.5578 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1518, allocations: 0 / 0.5578 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005654/0.1524, allocations: 147.9 kB / 0.5579 GB, free: 0.8203 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.002164/0.1546, allocations: 1.763 MB / 0.5596 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.1562, allocations: 1.144 MB / 0.5608 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1562, allocations: 0 / 0.5608 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009129/0.1571, allocations: 0.7052 MB / 0.5614 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.1577, allocations: 83.72 kB / 0.5615 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008041/0.1658, allocations: 5.893 MB / 0.5673 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.1664, allocations: 0.9015 MB / 0.5682 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003325/0.1668, allocations: 103.2 kB / 0.5683 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.167, allocations: 151.4 kB / 0.5684 GB, free: 5.734 MB / 430.1 MB Notification: Performance of SimCode: time 1.533e-06/0.167, allocations: 0 / 0.5684 GB, free: 5.734 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04125/0.2082, allocations: 10.37 MB / 0.5785 GB, free: 11.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.69, allocations: 8.062 kB / 0.5785 GB, free: 11.47 MB / 446.1 MB " [Timeout remaining time 649] (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: 13.568551992066205] Failed to read output from testmodel.py, exit status != 0: 10.775994209107012 10.792296958 10.668408042 Calling exit ...