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.001349/0.001349, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001397/0.001397, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.516/1.516, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.1912/0.1912, allocations: 38.5 MB / 349.4 MB, free: 2.676 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",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.00204/0.00204, allocations: 71.89 kB / 487.8 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1361, allocations: 62.42 MB / 0.5374 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.007738/0.1438, allocations: 4.557 MB / 0.5418 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.1469, allocations: 1.453 MB / 0.5432 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.1473, allocations: 23.81 kB / 0.5433 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.1485, allocations: 302.6 kB / 0.5435 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007989/0.1493, allocations: 282.7 kB / 0.5438 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008364/0.1501, allocations: 263.3 kB / 0.5441 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008874/0.151, allocations: 0.647 MB / 0.5447 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004298/0.1514, allocations: 216 kB / 0.5449 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005902/0.152, allocations: 302.9 kB / 0.5452 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006475/0.1527, allocations: 446.6 kB / 0.5456 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.14e-05/0.1528, allocations: 48 kB / 0.5457 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004717/0.1532, allocations: 231.6 kB / 0.5459 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.1535, allocations: 255.3 kB / 0.5461 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.1539, allocations: 286.5 kB / 0.5464 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.1549, allocations: 0.7511 MB / 0.5471 GB, free: 13.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1549, allocations: 3.938 kB / 0.5471 GB, free: 13.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1549, allocations: 0 / 0.5471 GB, free: 13.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.1549, allocations: 0 / 0.5471 GB, free: 13.47 MB / 414.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.001876/0.1568, allocations: 0.9071 MB / 0.548 GB, free: 12.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.1568, allocations: 8.031 kB / 0.548 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.848e-05/0.1569, allocations: 13.19 kB / 0.548 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.157, allocations: 90.7 kB / 0.5481 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007986/0.1578, allocations: 128.5 kB / 0.5483 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007748/0.1586, allocations: 444.1 kB / 0.5487 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.1586, allocations: 37.12 kB / 0.5487 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.1587, allocations: 43.98 kB / 0.5488 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.1602, allocations: 0.8591 MB / 0.5496 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1602, allocations: 3.938 kB / 0.5496 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.444e-05/0.1602, allocations: 20 kB / 0.5496 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/0.1604, allocations: 56.95 kB / 0.5497 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.1619, allocations: 0.8001 MB / 0.5505 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00434/0.1662, allocations: 2.711 MB / 0.5531 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.1672, allocations: 0.4899 MB / 0.5536 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/0.1677, allocations: 362.7 kB / 0.5539 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.1678, allocations: 4 kB / 0.5539 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.1678, allocations: 50.48 kB / 0.554 GB, free: 6.152 MB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 3.486e-06/0.1678, allocations: 0 / 0.554 GB, free: 6.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003206/0.171, allocations: 1.884 MB / 0.5558 GB, free: 4.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.1711, allocations: 146.8 kB / 0.556 GB, free: 4.055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.1715, allocations: 304.5 kB / 0.5562 GB, free: 3.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.1716, allocations: 33.7 kB / 0.5563 GB, free: 3.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.1718, allocations: 264.9 kB / 0.5565 GB, free: 3.445 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.172, allocations: 190.3 kB / 0.5567 GB, free: 3.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.1721, allocations: 106.1 kB / 0.5568 GB, free: 3.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1723, allocations: 346.8 kB / 0.5571 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.1728, allocations: 344.9 kB / 0.5575 GB, free: 2.465 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.1735, allocations: 492.3 kB / 0.5579 GB, free: 1.934 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.1748, allocations: 0.9798 MB / 0.5589 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1748, allocations: 8 kB / 0.5589 GB, free: 0.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001619/0.1764, allocations: 0.985 MB / 0.5599 GB, free: 15.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.1765, allocations: 69.67 kB / 0.5599 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.1765, allocations: 4 kB / 0.5599 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/0.1768, allocations: 44.77 kB / 0.56 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.1771, allocations: 83.88 kB / 0.5601 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.1788, allocations: 1.543 MB / 0.5616 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.1791, allocations: 35.91 kB / 0.5616 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.505e-05/0.1792, allocations: 27.98 kB / 0.5616 GB, free: 13.91 MB / 430.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.0004631/0.1797, allocations: 311.2 kB / 0.5619 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.1798, allocations: 47.72 kB / 0.562 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.1815, allocations: 1.076 MB / 0.563 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-05/0.1816, allocations: 15.98 kB / 0.563 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1816, allocations: 144 / 0.563 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1816, allocations: 3.984 kB / 0.563 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.1845, allocations: 1.804 MB / 0.5648 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.1845, allocations: 4 kB / 0.5648 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.1848, allocations: 47.97 kB / 0.5649 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/0.1849, allocations: 36.83 kB / 0.5649 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.1849, allocations: 19.92 kB / 0.5649 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.1865, allocations: 1.551 MB / 0.5664 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1865, allocations: 8 kB / 0.5664 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.1882, allocations: 1.175 MB / 0.5676 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.1885, allocations: 176.7 kB / 0.5677 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.1886, allocations: 12 kB / 0.5678 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.1888, allocations: 35.95 kB / 0.5678 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.189, allocations: 43.89 kB / 0.5678 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.189, allocations: 12 kB / 0.5678 GB, free: 7.246 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.1893, allocations: 203.1 kB / 0.568 GB, free: 7.047 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1893, allocations: 0 / 0.568 GB, free: 7.047 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006173/0.1899, allocations: 147.9 kB / 0.5682 GB, free: 6.902 MB / 430.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.002339/0.1922, allocations: 1.767 MB / 0.5699 GB, free: 5.094 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.1941, allocations: 1.151 MB / 0.571 GB, free: 3.918 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1941, allocations: 0 / 0.571 GB, free: 3.918 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009734/0.195, allocations: 0.6952 MB / 0.5717 GB, free: 3.199 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.1956, allocations: 72.75 kB / 0.5718 GB, free: 3.133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008527/0.2041, allocations: 5.896 MB / 0.5775 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.2049, allocations: 0.9015 MB / 0.5784 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003158/0.2052, allocations: 103.2 kB / 0.5785 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.2055, allocations: 159.3 kB / 0.5787 GB, free: 11.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.143e-06/0.2055, allocations: 0 / 0.5787 GB, free: 11.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.242, allocations: 10.41 MB / 0.5888 GB, free: 1.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.06, allocations: 8.062 kB / 0.5888 GB, free: 1.527 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: 14.358940862992313] Failed to read output from testmodel.py, exit status != 0: 11.207652480981778 11.496695492 11.339245427 Calling exit ...