Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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: translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.00145, allocations: 106.2 kB / 16.69 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 186 kB / 17.61 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.3 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04819/0.04819, allocations: 8.094 MB / 299.5 MB, free: 6.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 361.9 MB, free: 8.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2177, allocations: 51.52 MB / 413.4 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003002/0.2207, allocations: 2.498 MB / 415.9 MB, free: 23.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.2232, allocations: 2.516 MB / 418.4 MB, free: 20.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.2233, allocations: 4 kB / 418.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.2238, allocations: 143.4 kB / 418.6 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005656/0.2244, allocations: 262.8 kB / 418.8 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.226, allocations: 1.202 MB / 420 MB, free: 19.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.2264, allocations: 414.2 kB / 420.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.2266, allocations: 126.1 kB / 420.5 MB, free: 18.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.2268, allocations: 175.3 kB / 420.7 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.227, allocations: 207.1 kB / 420.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.227, allocations: 32 kB / 420.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.2275, allocations: 339.8 kB / 421.3 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.2276, allocations: 87.66 kB / 421.4 MB, free: 17.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.2277, allocations: 187 kB / 421.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.2282, allocations: 475 kB / 422 MB, free: 17.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2282, allocations: 0 / 422 MB, free: 17.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2282, allocations: 4 kB / 422 MB, free: 17.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.2282, allocations: 0 / 422 MB, free: 17.12 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.003851/0.2321, allocations: 1.213 MB / 423.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.2321, allocations: 15.89 kB / 423.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.2323, allocations: 48.38 kB / 423.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.2326, allocations: 327.5 kB / 423.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.2327, allocations: 50.83 kB / 423.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.2327, allocations: 40.06 kB / 423.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.2333, allocations: 448.4 kB / 424.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2334, allocations: 0 / 424.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.2334, allocations: 12 kB / 424.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2334, allocations: 7.984 kB / 424.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.2339, allocations: 382.1 kB / 424.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.2358, allocations: 1.746 MB / 426.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/0.2366, allocations: 499 kB / 426.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.2368, allocations: 252.8 kB / 427 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.047e-05/0.2369, allocations: 11.97 kB / 427 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005052/0.2374, allocations: 334.9 kB / 427.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.903e-06/0.2374, allocations: 0 / 427.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003906/0.2414, allocations: 1.355 MB / 428.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.2414, allocations: 110.8 kB / 428.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.2417, allocations: 286.9 kB / 429.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.2418, allocations: 37.7 kB / 429.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/0.2418, allocations: 164.8 kB / 429.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.928e-05/0.2419, allocations: 141.9 kB / 429.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.2421, allocations: 98.23 kB / 429.5 MB, free: 9.223 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.2422, allocations: 346.8 kB / 429.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.2425, allocations: 265 kB / 430.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.2428, allocations: 308.6 kB / 430.4 MB, free: 8.305 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/0.2435, allocations: 0.5586 MB / 431 MB, free: 7.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2435, allocations: 0 / 431 MB, free: 7.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001773/0.2453, allocations: 0.9171 MB / 431.9 MB, free: 6.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.2453, allocations: 4 kB / 431.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.2453, allocations: 7.875 kB / 431.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002533/0.2479, allocations: 0.6095 MB / 432.5 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.2482, allocations: 71.91 kB / 432.6 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.2496, allocations: 1.075 MB / 433.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.25, allocations: 43.53 kB / 433.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.2501, allocations: 19.98 kB / 433.7 MB, free: 4.957 MB / 302.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: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.2503, allocations: 157.7 kB / 433.9 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.2503, allocations: 35.62 kB / 433.9 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.2515, allocations: 0.7778 MB / 434.7 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2516, allocations: 4 kB / 434.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2516, allocations: 4 kB / 434.7 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2516, allocations: 3.984 kB / 434.7 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.252, allocations: 0.5486 MB / 435.3 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.252, allocations: 4 kB / 435.3 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.2522, allocations: 55.91 kB / 435.3 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/0.2546, allocations: 0.5921 MB / 435.9 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.2547, allocations: 8 kB / 435.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.256, allocations: 1.075 MB / 437 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.256, allocations: 3.938 kB / 437 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.257, allocations: 0.7366 MB / 437.7 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.257, allocations: 112.6 kB / 437.8 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/0.2571, allocations: 8 kB / 437.8 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.2574, allocations: 27.92 kB / 437.9 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.2575, allocations: 28.39 kB / 437.9 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.2576, allocations: 16 kB / 437.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.2577, allocations: 202 kB / 438.1 MB, free: 440 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2577, allocations: 7.938 kB / 438.1 MB, free: 432 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004067/0.2582, allocations: 139.8 kB / 438.3 MB, free: 292 kB / 302.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: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009209/0.2591, allocations: 418.6 kB / 438.7 MB, free: 20 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.261, allocations: 0.7359 MB / 439.4 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.2611, allocations: 4 kB / 439.4 MB, free: 15.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.2623, allocations: 406.4 kB / 439.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.2627, allocations: 48.8 kB / 439.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.2643, allocations: 0.9291 MB / 440.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.2647, allocations: 0.7927 MB / 441.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.2648, allocations: 43.42 kB / 441.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2648, allocations: 0 / 441.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of Templates: time 0.01003/0.2748, allocations: 7.036 MB / 448.6 MB, free: 5.988 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1)