Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.00196/0.00196, allocations: 88.98 kB / 20.25 MB, free: 4.172 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.00215/0.00215, allocations: 173.2 kB / 23.57 MB, free: 0.8594 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 1.536/1.536, allocations: 177.2 MB / 203.9 MB, free: 5.586 MB / 186.7 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.03967/0.03967, allocations: 4.487 MB / 264.8 MB, free: 8.57 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.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 335.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.37e-05, allocations: 6.25 kB / 335.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.002923/0.002946, allocations: 3.093 MB / 338.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.004404, allocations: 1.106 MB / 340 MB, free: 9.371 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.004534, allocations: 8 kB / 340 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.004895, allocations: 170.8 kB / 340.1 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.005378, allocations: 250.4 kB / 340.4 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.007036, allocations: 1.206 MB / 341.6 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.007451, allocations: 0.5095 MB / 342.1 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.007606, allocations: 87.25 kB / 342.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.007849, allocations: 295.3 kB / 342.5 MB, free: 6.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.008075, allocations: 195.4 kB / 342.7 MB, free: 6.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.236e-05/0.008138, allocations: 44 kB / 342.7 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.008533, allocations: 307.6 kB / 343 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.008595, allocations: 91.61 kB / 343.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.008744, allocations: 163.6 kB / 343.2 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006199/0.009364, allocations: 0.7477 MB / 344 MB, free: 5.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.009367, allocations: 0 / 344 MB, free: 5.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.009369, allocations: 3.984 kB / 344 MB, free: 5.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.009376, allocations: 4 kB / 344 MB, free: 5.309 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003966/0.01334, allocations: 1.382 MB / 345.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.01338, allocations: 12.03 kB / 345.4 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.01352, allocations: 72.66 kB / 345.5 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.01389, allocations: 300.4 kB / 345.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.01394, allocations: 54.92 kB / 345.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.01399, allocations: 36.38 kB / 345.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000673/0.01466, allocations: 0.5537 MB / 346.4 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.01468, allocations: 4.125 kB / 346.4 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.01472, allocations: 20.12 kB / 346.4 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.01473, allocations: 8 kB / 346.4 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005998/0.01533, allocations: 388.1 kB / 346.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.01737, allocations: 1.279 MB / 348.1 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008818/0.01825, allocations: 0.4981 MB / 348.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004071/0.01866, allocations: 298 kB / 348.9 MB, free: 240 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.01879, allocations: 12.33 kB / 348.9 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009844/0.01977, allocations: 0.6751 MB / 349.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 2.044e-06/0.01977, allocations: 4 kB / 349.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=51): time 0.006526/0.0263, allocations: 1.831 MB / 351.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.02644, allocations: 191.9 kB / 351.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.02698, allocations: 422.2 kB / 352 MB, free: 12.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/0.02704, allocations: 37.7 kB / 352 MB, free: 12.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.02724, allocations: 235.8 kB / 352.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.02743, allocations: 178.6 kB / 352.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.02768, allocations: 139.8 kB / 352.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004771/0.02816, allocations: 0.5391 MB / 353.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005469/0.0287, allocations: 294.8 kB / 353.4 MB, free: 11.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/0.02936, allocations: 408.5 kB / 353.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.03106, allocations: 0.9615 MB / 354.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.03107, allocations: 3.938 kB / 354.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003788/0.03486, allocations: 1.333 MB / 356.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.03491, allocations: 37.7 kB / 356.1 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.03492, allocations: 0 / 356.1 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004388/0.03931, allocations: 0.9145 MB / 357.1 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.03963, allocations: 83.89 kB / 357.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.042, allocations: 1.653 MB / 358.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.04255, allocations: 71.64 kB / 358.9 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.04261, allocations: 27.91 kB / 358.9 MB, free: 5.855 MB / 282.7 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) \"Current tap position\" type: Integer varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true ) \"Time lag between the first change and the following tap\" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = \"s\" fixed = true protected = true ) \"Time when the signal U went out its normal range\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * 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 {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004235/0.04303, allocations: 276.3 kB / 359.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.04318, allocations: 71.72 kB / 359.2 MB, free: 5.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.04547, allocations: 1.132 MB / 360.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.04548, allocations: 4 kB / 360.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.04549, allocations: 0 / 360.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.04549, allocations: 4 kB / 360.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.0462, allocations: 473.2 kB / 360.8 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.04621, allocations: 0 / 360.8 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.04641, allocations: 43.91 kB / 360.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004134/0.05054, allocations: 0.9669 MB / 361.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.0506, allocations: 19.98 kB / 361.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/0.05358, allocations: 1.812 MB / 363.7 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.05358, allocations: 0 / 363.7 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.05575, allocations: 1.132 MB / 364.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.05604, allocations: 119.6 kB / 364.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.05615, allocations: 31.88 kB / 365 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.05659, allocations: 39.97 kB / 365 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.05676, allocations: 56.41 kB / 365 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.05682, allocations: 20 kB / 365.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003499/0.05717, allocations: 283 kB / 365.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.05717, allocations: 0 / 365.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004942/0.05766, allocations: 140 kB / 365.5 MB, free: 15.07 MB / 298.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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000295/0.05796, allocations: 159.6 kB / 365.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002155/0.06011, allocations: 0.9089 MB / 366.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.06011, allocations: 0 / 366.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.06154, allocations: 0.5617 MB / 367.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.06194, allocations: 65.25 kB / 367.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.06376, allocations: 0.8678 MB / 368 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.06398, allocations: 200.9 kB / 368.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.06415, allocations: 47.23 kB / 368.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.06425, allocations: 40.5 kB / 368.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.06426, allocations: 0 / 368.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of Templates: time 0.01777/0.08202, allocations: 8.957 MB / 377.3 MB, free: 3.234 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.963186201988719]