Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.LargerNetwork.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.001331/0.001331, allocations: 113 kB / 20.5 MB, free: 1.473 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.001471/0.001471, allocations: 215 kB / 23.8 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.439/1.439, allocations: 230.6 MB / 257.6 MB, free: 8.031 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.04697/0.04697, allocations: 6.139 MB / 320.1 MB, free: 12.99 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: translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 47.91 kB / 445.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0915/0.0931, allocations: 55.02 MB / 0.4891 GB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.0155/0.1086, allocations: 14.3 MB / 0.5031 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007707/0.1163, allocations: 3.961 MB / 0.5069 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.1183, allocations: 44 kB / 0.507 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.1202, allocations: 0.6941 MB / 0.5077 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004658/0.1249, allocations: 1.557 MB / 0.5092 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005008/0.1299, allocations: 2.151 MB / 0.5113 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005231/0.1351, allocations: 3.56 MB / 0.5148 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.1366, allocations: 0.8141 MB / 0.5156 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.1388, allocations: 1.514 MB / 0.517 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1832/0.3219, allocations: 1.851 MB / 0.5188 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009147/0.3229, allocations: 299 kB / 0.5191 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.3242, allocations: 0.5588 MB / 0.5197 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004935/0.3247, allocations: 0.7529 MB / 0.5204 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.326, allocations: 1.651 MB / 0.522 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.3301, allocations: 3.615 MB / 0.5256 GB, free: 7.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3301, allocations: 0 / 0.5256 GB, free: 7.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3301, allocations: 1.281 kB / 0.5256 GB, free: 7.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.633e-05/0.3302, allocations: 0 / 0.5256 GB, free: 7.809 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 598 * Number of variables: 598 Notification: Performance of Generate backend data structure: time 0.03536/0.3655, allocations: 8.166 MB / 0.5335 GB, free: 6.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3656, allocations: 9.438 kB / 0.5335 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008062/0.3664, allocations: 385.9 kB / 0.5339 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.3688, allocations: 1.452 MB / 0.5353 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/0.369, allocations: 0.7479 MB / 0.5361 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004248/0.3695, allocations: 276.1 kB / 0.5363 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005825/0.3753, allocations: 3.836 MB / 0.5401 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-05/0.3753, allocations: 3.938 kB / 0.5401 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003338/0.3757, allocations: 113.6 kB / 0.5402 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/0.3757, allocations: 56.78 kB / 0.5402 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00537/0.3811, allocations: 3.7 MB / 0.5438 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02102/0.4021, allocations: 12.13 MB / 0.5557 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007054/0.4092, allocations: 5.062 MB / 0.5606 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004442/0.4136, allocations: 2.459 MB / 0.563 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005392/0.4141, allocations: 91.2 kB / 0.5631 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005888/0.42, allocations: 3.053 MB / 0.5661 GB, free: 1.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=453): time 6.261e-06/0.42, allocations: 0 / 0.5661 GB, free: 1.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=453): time 0.01779/0.4378, allocations: 8.901 MB / 0.5748 GB, free: 8.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.438, allocations: 176.1 kB / 0.575 GB, free: 8.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.4407, allocations: 1.434 MB / 0.5764 GB, free: 6.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006621/0.4414, allocations: 137.7 kB / 0.5765 GB, free: 6.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009171/0.4423, allocations: 0.8258 MB / 0.5773 GB, free: 5.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001683/0.444, allocations: 1.513 MB / 0.5788 GB, free: 4.348 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/0.4457, allocations: 0.7502 MB / 0.5795 GB, free: 3.586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4459, allocations: 301.1 kB / 0.5798 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004582/0.4505, allocations: 2.473 MB / 0.5822 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004977/0.4554, allocations: 2.801 MB / 0.585 GB, free: 13.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009666/0.4651, allocations: 5.379 MB / 0.5902 GB, free: 8.527 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.4651, allocations: 0 / 0.5902 GB, free: 8.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.0153/0.4804, allocations: 7.733 MB / 0.5978 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4804, allocations: 4 kB / 0.5978 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.4805, allocations: 4 kB / 0.5978 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04243/0.5229, allocations: 17.6 MB / 0.615 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.5252, allocations: 0.5459 MB / 0.6155 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.5404, allocations: 6.872 MB / 0.6222 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/0.5439, allocations: 425.8 kB / 0.6226 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004946/0.5444, allocations: 152 kB / 0.6228 GB, free: 7.125 MB / 462.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: 60 (b61106.degradedMode,$PRE.b61106.degradedMode,b87656.degradedMode,$PRE.b87656.degradedMode,b56131.degradedMode,$PRE.b56131.degradedMode,b61275.degradedMode,$PRE.b61275.degradedMode,b61273.degradedMode,$PRE.b61273.degradedMode,b61274.degradedMode,$PRE.b61274.degradedMode,b61089.degradedMode,$PRE.b61089.degradedMode,b61227.degradedMode,$PRE.b61227.degradedMode,b11403.degradedMode,$PRE.b11403.degradedMode,b11407.degradedMode,$PRE.b11407.degradedMode,b61254.degradedMode,$PRE.b61254.degradedMode,b61260.degradedMode,$PRE.b61260.degradedMode,b11465.degradedMode,$PRE.b11465.degradedMode,b87694.degradedMode,$PRE.b87694.degradedMode,b61121.degradedMode,$PRE.b61121.degradedMode,b61232.degradedMode,$PRE.b61232.degradedMode,b11480.degradedMode,$PRE.b11480.degradedMode,b61256.degradedMode,$PRE.b61256.degradedMode,b11458.degradedMode,$PRE.b11458.degradedMode,b61280.degradedMode,$PRE.b61280.degradedMode,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (375): * Single equations (assignments): 374 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(79,137)} Notification: Performance of prepare postOptimizeDAE: time 0.001461/0.5458, allocations: 0.5332 MB / 0.6233 GB, free: 6.617 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008232/0.5467, allocations: 306.1 kB / 0.6236 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/0.561, allocations: 7.593 MB / 0.631 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.385e-05/0.561, allocations: 51.94 kB / 0.631 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.561, allocations: 0 / 0.631 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.487e-05/0.5611, allocations: 27.84 kB / 0.6311 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02208/0.5832, allocations: 12.27 MB / 0.643 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.5832, allocations: 0 / 0.643 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.5846, allocations: 408 kB / 0.6434 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03452/0.6191, allocations: 10.11 MB / 0.6533 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000465/0.6195, allocations: 101.5 kB / 0.6534 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/0.6343, allocations: 7.039 MB / 0.6603 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6343, allocations: 0 / 0.6603 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/0.6491, allocations: 7.487 MB / 0.6676 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/0.6513, allocations: 0.891 MB / 0.6685 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006964/0.652, allocations: 84 kB / 0.6685 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003221/0.6553, allocations: 266.3 kB / 0.6688 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007146/0.656, allocations: 326.9 kB / 0.6691 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004142/0.6564, allocations: 156 kB / 0.6692 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001609/0.658, allocations: 0.89 MB / 0.6701 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.658, allocations: 0 / 0.6701 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002555/0.6605, allocations: 1.046 MB / 0.6711 GB, free: 5.648 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,b61280.degradedMode,b11458.degradedMode,b61256.degradedMode,b11480.degradedMode,b61232.degradedMode,b61121.degradedMode,b87694.degradedMode,b11465.degradedMode,b61260.degradedMode,b61254.degradedMode,b11407.degradedMode,b11403.degradedMode,b61227.degradedMode,b61089.degradedMode,b61274.degradedMode,b61273.degradedMode,b61275.degradedMode,b56131.degradedMode,b87656.degradedMode,b61106.degradedMode) * Number of discrete states: 20 (b61089.degradedMode,b11407.degradedMode,b11403.degradedMode,b61275.degradedMode,b61273.degradedMode,b61254.degradedMode,b61274.degradedMode,b61260.degradedMode,b11465.degradedMode,b61227.degradedMode,b87656.degradedMode,b56131.degradedMode,b61256.degradedMode,b11480.degradedMode,b87694.degradedMode,b61232.degradedMode,b11458.degradedMode,b61121.degradedMode,b61280.degradedMode,b61106.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(80,156)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006316/0.6612, allocations: 284.2 kB / 0.6714 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01696/0.6781, allocations: 6.613 MB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.6782, allocations: 11 kB / 0.6779 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01155/0.6897, allocations: 3.816 MB / 0.6816 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.692, allocations: 398.3 kB / 0.682 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.7044, allocations: 6.353 MB / 0.6882 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/0.7059, allocations: 1.703 MB / 0.6899 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007196/0.7066, allocations: 231.4 kB / 0.6901 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of SimCode: time 1.192e-06/0.7066, allocations: 0 / 0.6901 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of Templates: time 0.2399/0.9465, allocations: 51.2 MB / 0.7401 GB, free: 190.2 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.LargerNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.LargerNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.956564391963184] Failed to read output from testmodel.py, exit status != 0: 0.9537703220266849 0.963831193 0.631391385 Calling exit ...