Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.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.001606/0.001606, allocations: 101.2 kB / 20.52 MB, free: 1.449 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.001713/0.001713, allocations: 214.8 kB / 23.84 MB, free: 4.66 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.525/1.525, allocations: 230.6 MB / 257.6 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04248/0.04248, allocations: 6.139 MB / 320.2 MB, free: 12.91 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 47.94 kB / 445.3 MB, free: 5.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1402, allocations: 55.02 MB / 0.4886 GB, free: 14.2 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.003794/0.144, allocations: 2.21 MB / 0.4907 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.1469, allocations: 1.723 MB / 0.4924 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.1472, allocations: 7.938 kB / 0.4924 GB, free: 10.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005224/0.1477, allocations: 155.1 kB / 0.4926 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006634/0.1484, allocations: 186.8 kB / 0.4928 GB, free: 9.906 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.1505, allocations: 0.958 MB / 0.4937 GB, free: 8.945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006849/0.1512, allocations: 418 kB / 0.4941 GB, free: 8.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.1514, allocations: 91.62 kB / 0.4942 GB, free: 8.441 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.1516, allocations: 171.3 kB / 0.4943 GB, free: 8.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.152, allocations: 227.1 kB / 0.4946 GB, free: 8.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.203e-05/0.1521, allocations: 32 kB / 0.4946 GB, free: 8.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.1526, allocations: 227.8 kB / 0.4948 GB, free: 7.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.112e-05/0.1527, allocations: 79.69 kB / 0.4949 GB, free: 7.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.1529, allocations: 195 kB / 0.4951 GB, free: 7.527 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007944/0.1537, allocations: 0.5488 MB / 0.4956 GB, free: 6.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1537, allocations: 4 kB / 0.4956 GB, free: 6.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1537, allocations: 3.938 kB / 0.4956 GB, free: 6.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1537, allocations: 0 / 0.4956 GB, free: 6.969 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.004196/0.1579, allocations: 1.078 MB / 0.4967 GB, free: 5.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1579, allocations: 11.98 kB / 0.4967 GB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.209e-05/0.158, allocations: 8.844 kB / 0.4967 GB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.731e-05/0.1581, allocations: 66.72 kB / 0.4967 GB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.1582, allocations: 52.66 kB / 0.4968 GB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.1586, allocations: 261.4 kB / 0.497 GB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.1587, allocations: 25.02 kB / 0.4971 GB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.1587, allocations: 36.31 kB / 0.4971 GB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00072/0.1594, allocations: 422.3 kB / 0.4975 GB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1595, allocations: 4 kB / 0.4975 GB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.1595, allocations: 15.94 kB / 0.4975 GB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1595, allocations: 8 kB / 0.4975 GB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007091/0.1602, allocations: 426.5 kB / 0.4979 GB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.163, allocations: 1.506 MB / 0.4994 GB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.1642, allocations: 0.5161 MB / 0.4999 GB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/0.1647, allocations: 249.5 kB / 0.5002 GB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.157e-05/0.1648, allocations: 12.36 kB / 0.5002 GB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.1648, allocations: 42.92 kB / 0.5002 GB, free: 2.051 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.495e-06/0.1648, allocations: 0 / 0.5002 GB, free: 2.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.005032/0.1698, allocations: 1.409 MB / 0.5016 GB, free: 0.625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.1699, allocations: 55.41 kB / 0.5016 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.1703, allocations: 269.8 kB / 0.5019 GB, free: 292 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.84e-05/0.1704, allocations: 37.7 kB / 0.5019 GB, free: 248 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.1705, allocations: 165.1 kB / 0.5021 GB, free: 80 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.1707, allocations: 166.5 kB / 0.5022 GB, free: 15.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.1709, allocations: 98.17 kB / 0.5023 GB, free: 15.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1711, allocations: 342.7 kB / 0.5027 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.1715, allocations: 264.9 kB / 0.5029 GB, free: 15.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.172, allocations: 276.4 kB / 0.5032 GB, free: 14.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.173, allocations: 0.5809 MB / 0.5037 GB, free: 14.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.173, allocations: 0 / 0.5037 GB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002649/0.1757, allocations: 1.015 MB / 0.5047 GB, free: 13.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.1757, allocations: 8 kB / 0.5047 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1757, allocations: 0 / 0.5047 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/0.1777, allocations: 426.1 kB / 0.5052 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.178, allocations: 79.83 kB / 0.5052 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00849/0.1865, allocations: 5.775 MB / 0.5109 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.187, allocations: 39.67 kB / 0.5109 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.187, allocations: 20.17 kB / 0.5109 GB, free: 6.645 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002524/0.1873, allocations: 153.8 kB / 0.5111 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.913e-05/0.1874, allocations: 43.7 kB / 0.5111 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/0.1901, allocations: 0.9859 MB / 0.5121 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1901, allocations: 4 kB / 0.5121 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1901, allocations: 0 / 0.5121 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1901, allocations: 3.984 kB / 0.5121 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007298/0.1908, allocations: 0.5394 MB / 0.5126 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1908, allocations: 0 / 0.5126 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.1911, allocations: 63.91 kB / 0.5127 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/0.193, allocations: 434.1 kB / 0.5131 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.193, allocations: 4 kB / 0.5131 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2378/0.4308, allocations: 5.713 MB / 0.5187 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4308, allocations: 0.8438 kB / 0.5187 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.4332, allocations: 1.017 MB / 0.5197 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.4333, allocations: 45.81 kB / 0.5197 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.4334, allocations: 13.47 kB / 0.5197 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.4337, allocations: 27.81 kB / 0.5197 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.4339, allocations: 39.78 kB / 0.5198 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.4339, allocations: 22.2 kB / 0.5198 GB, free: 28.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.4342, allocations: 194.1 kB / 0.52 GB, free: 28.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4342, allocations: 0 / 0.52 GB, free: 28.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000633/0.4348, allocations: 163.6 kB / 0.5201 GB, free: 28.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002606/0.4374, allocations: 1.578 MB / 0.5217 GB, free: 27.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.4393, allocations: 1.04 MB / 0.5227 GB, free: 27.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4393, allocations: 0.8438 kB / 0.5227 GB, free: 27.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.4407, allocations: 0.7414 MB / 0.5234 GB, free: 26.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.4413, allocations: 47.55 kB / 0.5235 GB, free: 26.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008613/0.4499, allocations: 4.709 MB / 0.5281 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.4503, allocations: 0.8003 MB / 0.5289 GB, free: 24.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.4505, allocations: 54.34 kB / 0.5289 GB, free: 24.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.4507, allocations: 113.3 kB / 0.529 GB, free: 24.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4507, allocations: 0.7656 kB / 0.529 GB, free: 24.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0661/0.5168, allocations: 14.99 MB / 0.5437 GB, free: 19.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.03, allocations: 9.766 kB / 0.5437 GB, free: 19.54 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.74191764497664] Failed to read output from testmodel.py, exit status != 0: 14.203286184929311 14.215353778 14.059208709 Calling exit ...