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.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.00093/0.00093, allocations: 79.36 kB / 20.46 MB, free: 4.105 MB / 18.57 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.0009977/0.0009977, allocations: 169 kB / 23.84 MB, free: 0.7344 MB / 18.57 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 0.9437/0.9437, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.0257/0.0257, allocations: 4.485 MB / 265.2 MB, free: 8.547 MB / 250.7 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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.297e-05, allocations: 2.312 kB / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.002352/0.002375, allocations: 2.391 MB / 338.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.004554, allocations: 2.837 MB / 341.7 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.004677, allocations: 4 kB / 341.7 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.005099, allocations: 166.8 kB / 341.9 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005698/0.005669, allocations: 345.9 kB / 342.2 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.006728, allocations: 1.206 MB / 343.4 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.007075, allocations: 434 kB / 343.8 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.007211, allocations: 80.84 kB / 343.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.007364, allocations: 243.4 kB / 344.2 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.007544, allocations: 155.5 kB / 344.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.00758, allocations: 32 kB / 344.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.007996, allocations: 387.3 kB / 344.7 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.008065, allocations: 87.67 kB / 344.8 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.008143, allocations: 127.6 kB / 344.9 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005154/0.008659, allocations: 0.6307 MB / 345.6 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.008661, allocations: 0 / 345.6 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008661, allocations: 0 / 345.6 MB, free: 4.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.008666, allocations: 0 / 345.6 MB, free: 4.145 MB / 266.7 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.002129/0.0108, allocations: 1.298 MB / 346.9 MB, free: 2.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.01083, allocations: 12.03 kB / 346.9 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.01094, allocations: 72.66 kB / 346.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.01121, allocations: 280.1 kB / 347.2 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.01126, allocations: 54.92 kB / 347.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.0113, allocations: 40.38 kB / 347.3 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.01168, allocations: 482.8 kB / 347.8 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.01169, allocations: 3.938 kB / 347.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.01172, allocations: 16 kB / 347.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.01173, allocations: 8 kB / 347.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.01199, allocations: 167.8 kB / 348 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.01311, allocations: 1.002 MB / 349 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.01356, allocations: 311.5 kB / 349.3 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.01371, allocations: 119.6 kB / 349.4 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/0.01377, allocations: 8 kB / 349.4 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.0141, allocations: 341.3 kB / 349.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 1.553e-06/0.0141, allocations: 0 / 349.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.00214/0.01624, allocations: 0.8841 MB / 350.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.01629, allocations: 110.8 kB / 350.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.01653, allocations: 334.2 kB / 351 MB, free: 14.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.01656, allocations: 37.7 kB / 351.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.01667, allocations: 219.8 kB / 351.3 MB, free: 14.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.01676, allocations: 158.7 kB / 351.5 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.01688, allocations: 107.8 kB / 351.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.01702, allocations: 0.5195 MB / 352.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.01722, allocations: 140.9 kB / 352.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.01746, allocations: 255.9 kB / 352.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.0179, allocations: 345.6 kB / 352.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.0179, allocations: 0 / 352.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001026/0.01893, allocations: 0.6451 MB / 353.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01895, allocations: 4 kB / 353.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01895, allocations: 3.984 kB / 353.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.02031, allocations: 0.5019 MB / 354 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.02048, allocations: 75.89 kB / 354 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009055/0.02139, allocations: 1.065 MB / 355.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.02155, allocations: 39.67 kB / 355.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.02158, allocations: 19.98 kB / 355.2 MB, free: 10.14 MB / 282.7 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.0001258/0.02171, allocations: 180.5 kB / 355.3 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.02177, allocations: 47.77 kB / 355.4 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006849/0.02245, allocations: 492.9 kB / 355.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.02246, allocations: 4 kB / 355.9 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.02246, allocations: 0 / 355.9 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.02247, allocations: 0 / 355.9 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.02275, allocations: 369.1 kB / 356.2 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02276, allocations: 0 / 356.2 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.02286, allocations: 51.92 kB / 356.3 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.0241, allocations: 498.9 kB / 356.8 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.02413, allocations: 7.938 kB / 356.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000847/0.02498, allocations: 1.072 MB / 357.8 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02498, allocations: 0 / 357.8 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006176/0.0256, allocations: 478.1 kB / 358.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.02564, allocations: 39.64 kB / 358.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.02568, allocations: 12 kB / 358.4 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.02581, allocations: 19.98 kB / 358.4 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.02587, allocations: 32.44 kB / 358.4 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.0259, allocations: 12 kB / 358.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.02604, allocations: 231 kB / 358.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02604, allocations: 0 / 358.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003148/0.02636, allocations: 139.8 kB / 358.8 MB, free: 6.391 MB / 282.7 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.001024/0.02738, allocations: 481.3 kB / 359.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009373/0.02832, allocations: 0.4943 MB / 359.8 MB, free: 5.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02832, allocations: 0 / 359.8 MB, free: 5.574 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005542/0.02887, allocations: 291.2 kB / 360 MB, free: 5.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.02914, allocations: 61.88 kB / 360.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.03034, allocations: 0.6425 MB / 360.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.987e-05/0.0304, allocations: 106 kB / 360.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.03052, allocations: 62.86 kB / 360.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.0306, allocations: 40.48 kB / 360.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.0306, allocations: 0 / 360.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of Templates: time 0.009508/0.04011, allocations: 7.756 MB / 368.7 MB, free: 12.65 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.9805645658634603]