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.001414/0.001414, allocations: 118.5 kB / 19.74 MB, free: 2.141 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.001951/0.001951, allocations: 223.3 kB / 23.05 MB, free: 4.941 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.04535/0.04535, allocations: 6.138 MB / 319.4 MB, free: 12.95 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 51.92 kB / 444.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1277, allocations: 55.02 MB / 499.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.003788/0.1314, allocations: 2.206 MB / 0.49 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.1342, allocations: 1.723 MB / 0.4917 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1344, allocations: 12 kB / 0.4917 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.1349, allocations: 151.1 kB / 0.4918 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004674/0.1353, allocations: 186.8 kB / 0.492 GB, free: 9.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.1373, allocations: 0.9543 MB / 0.4929 GB, free: 9.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000671/0.138, allocations: 414.1 kB / 0.4933 GB, free: 8.605 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.1382, allocations: 91.62 kB / 0.4934 GB, free: 8.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.1384, allocations: 179.3 kB / 0.4936 GB, free: 8.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.1387, allocations: 215.1 kB / 0.4938 GB, free: 8.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.1388, allocations: 32 kB / 0.4938 GB, free: 8.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.1392, allocations: 231.8 kB / 0.494 GB, free: 7.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.1393, allocations: 79.69 kB / 0.4941 GB, free: 7.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.1395, allocations: 198.9 kB / 0.4943 GB, free: 7.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007139/0.1402, allocations: 0.5449 MB / 0.4948 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1402, allocations: 7.938 kB / 0.4948 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1402, allocations: 0 / 0.4948 GB, free: 7.039 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1402, allocations: 0 / 0.4948 GB, free: 7.039 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.003872/0.1441, allocations: 1.078 MB / 0.4959 GB, free: 5.926 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1442, allocations: 19.92 kB / 0.4959 GB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.1443, allocations: 58.73 kB / 0.496 GB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.1444, allocations: 48.64 kB / 0.496 GB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.1449, allocations: 265.4 kB / 0.4963 GB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.1449, allocations: 25.03 kB / 0.4963 GB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/0.145, allocations: 28.38 kB / 0.4963 GB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007133/0.1457, allocations: 426.5 kB / 0.4967 GB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1457, allocations: 3.938 kB / 0.4967 GB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.1457, allocations: 12 kB / 0.4967 GB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.1457, allocations: 12 kB / 0.4967 GB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007247/0.1465, allocations: 430.4 kB / 0.4972 GB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.1489, allocations: 1.506 MB / 0.4986 GB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.1501, allocations: 0.5162 MB / 0.4991 GB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/0.1505, allocations: 245.5 kB / 0.4994 GB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.7e-05/0.1506, allocations: 12.38 kB / 0.4994 GB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.1506, allocations: 42.88 kB / 0.4994 GB, free: 2.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.833e-06/0.1506, allocations: 0 / 0.4994 GB, free: 2.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.004617/0.1552, allocations: 1.409 MB / 0.5008 GB, free: 0.707 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.1553, allocations: 59.41 kB / 0.5009 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.1557, allocations: 269.8 kB / 0.5011 GB, free: 372 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.1557, allocations: 33.7 kB / 0.5011 GB, free: 332 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1558, allocations: 169.1 kB / 0.5013 GB, free: 160 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.156, allocations: 166.5 kB / 0.5015 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.1562, allocations: 94.12 kB / 0.5016 GB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1563, allocations: 342.8 kB / 0.5019 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.1567, allocations: 268.9 kB / 0.5021 GB, free: 15.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.1572, allocations: 276.4 kB / 0.5024 GB, free: 15.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.1581, allocations: 0.5809 MB / 0.503 GB, free: 14.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1581, allocations: 4 kB / 0.503 GB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002416/0.1605, allocations: 1.015 MB / 0.504 GB, free: 13.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1605, allocations: 4 kB / 0.504 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.1605, allocations: 0 / 0.504 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001834/0.1624, allocations: 422.1 kB / 0.5044 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.1627, allocations: 75.89 kB / 0.5044 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007816/0.1705, allocations: 5.799 MB / 0.5101 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.1709, allocations: 39.67 kB / 0.5101 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.171, allocations: 19.98 kB / 0.5102 GB, free: 6.707 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.0002615/0.1712, allocations: 153.8 kB / 0.5103 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/0.1713, allocations: 43.7 kB / 0.5103 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.1738, allocations: 0.9821 MB / 0.5113 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.1738, allocations: 8 kB / 0.5113 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1738, allocations: 0 / 0.5113 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1738, allocations: 7.984 kB / 0.5113 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006736/0.1745, allocations: 0.5356 MB / 0.5118 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1745, allocations: 0 / 0.5118 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.1747, allocations: 59.91 kB / 0.5119 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/0.1764, allocations: 418.1 kB / 0.5123 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.1764, allocations: 15.98 kB / 0.5123 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2853/0.4617, allocations: 5.721 MB / 0.5179 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4617, allocations: 1.875 kB / 0.5179 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.4639, allocations: 1.01 MB / 0.5189 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.464, allocations: 45.41 kB / 0.5189 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.4641, allocations: 10.84 kB / 0.5189 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.4644, allocations: 32.67 kB / 0.519 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.4645, allocations: 45.59 kB / 0.519 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.4646, allocations: 13.69 kB / 0.519 GB, free: 28.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.4648, allocations: 196.6 kB / 0.5192 GB, free: 28.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4648, allocations: 0 / 0.5192 GB, free: 28.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006155/0.4654, allocations: 165.6 kB / 0.5194 GB, free: 28.35 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.002423/0.4678, allocations: 1.572 MB / 0.5209 GB, free: 27.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.4698, allocations: 1.037 MB / 0.5219 GB, free: 27.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4698, allocations: 1.062 kB / 0.5219 GB, free: 27.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.4712, allocations: 0.7408 MB / 0.5226 GB, free: 26.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.4717, allocations: 51.23 kB / 0.5227 GB, free: 26.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008156/0.4798, allocations: 4.701 MB / 0.5273 GB, free: 25.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.4802, allocations: 0.8048 MB / 0.5281 GB, free: 24.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.4804, allocations: 50.59 kB / 0.5281 GB, free: 24.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.4805, allocations: 119.3 kB / 0.5282 GB, free: 24.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.753e-06/0.4805, allocations: 0 / 0.5282 GB, free: 24.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06084/0.5414, allocations: 14.96 MB / 0.5428 GB, free: 19.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.72, allocations: 10.36 kB / 0.5429 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.485157433897257] Failed to read output from testmodel.py, exit status != 0: 13.835482692113146 13.854688438 13.710882128 Calling exit ...