Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.0009208/0.0009208, allocations: 83.34 kB / 20.47 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.0009312/0.0009312, allocations: 169 kB / 23.84 MB, free: 0.7305 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.9494/0.9494, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.02406/0.02406, allocations: 4.485 MB / 265.2 MB, free: 8.551 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.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 336.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.043e-05, allocations: 4.562 kB / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.005239/0.00526, allocations: 1.775 MB / 338.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.007122, allocations: 1.723 MB / 340 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.007231, allocations: 4 kB / 340 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003399/0.01063, allocations: 147.1 kB / 340.1 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.01099, allocations: 142.9 kB / 340.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.01211, allocations: 0.8947 MB / 341.2 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.0125, allocations: 354.5 kB / 341.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.01263, allocations: 40.91 kB / 341.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.01281, allocations: 195.6 kB / 341.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.01296, allocations: 115.7 kB / 341.9 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.013, allocations: 32 kB / 341.9 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.0134, allocations: 239.5 kB / 342.1 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.01344, allocations: 55.7 kB / 342.2 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.342e-05/0.01353, allocations: 107.7 kB / 342.3 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005/0.01403, allocations: 454.5 kB / 342.7 MB, free: 7.004 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01404, allocations: 0 / 342.7 MB, free: 7.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01404, allocations: 0 / 342.7 MB, free: 7.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.01404, allocations: 0 / 342.7 MB, free: 7.004 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002407/0.01645, allocations: 1.123 MB / 343.8 MB, free: 5.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.01648, allocations: 8.031 kB / 343.9 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.01659, allocations: 48.75 kB / 343.9 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.01683, allocations: 227.6 kB / 344.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.01685, allocations: 20.38 kB / 344.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.581e-05/0.01693, allocations: 28.5 kB / 344.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.01733, allocations: 416.2 kB / 344.6 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.01734, allocations: 4.172 kB / 344.6 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.01737, allocations: 16.12 kB / 344.6 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.01738, allocations: 0 / 344.6 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.01763, allocations: 158.2 kB / 344.8 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008448/0.01847, allocations: 0.6552 MB / 345.4 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.01895, allocations: 271.1 kB / 345.7 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.01911, allocations: 117.6 kB / 345.8 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006401/0.01975, allocations: 0.6013 MB / 346.4 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/0.02009, allocations: 468.8 kB / 346.8 MB, free: 2.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.02009, allocations: 0 / 346.8 MB, free: 2.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.00149/0.02158, allocations: 0.7131 MB / 347.6 MB, free: 1.844 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.02163, allocations: 225.6 kB / 347.8 MB, free: 1.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.0218, allocations: 304.2 kB / 348.1 MB, free: 1.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.02182, allocations: 37.7 kB / 348.1 MB, free: 1.219 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.02189, allocations: 195.5 kB / 348.3 MB, free: 1.023 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.02195, allocations: 107.1 kB / 348.4 MB, free: 0.918 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/0.02205, allocations: 91.33 kB / 348.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.839e-05/0.02211, allocations: 0.5117 MB / 349 MB, free: 304 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.02224, allocations: 114.1 kB / 349.1 MB, free: 184 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.02248, allocations: 307.5 kB / 349.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.02301, allocations: 477.9 kB / 349.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.02302, allocations: 4 kB / 349.9 MB, free: 15.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007551/0.02377, allocations: 0.513 MB / 350.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.02381, allocations: 45.75 kB / 350.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.02382, allocations: 4 kB / 350.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.02483, allocations: 370.4 kB / 350.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.02504, allocations: 71.84 kB / 350.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.02674, allocations: 2.819 MB / 353.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.02698, allocations: 67.7 kB / 353.8 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.02701, allocations: 19.94 kB / 353.8 MB, free: 11.13 MB / 282.7 MB Warning: Assuming fixed start value for the following 4 variables: slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = \"V\" fixed = true ) type: Real 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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000224/0.02723, allocations: 251.2 kB / 354 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.0273, allocations: 47.81 kB / 354.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009686/0.02827, allocations: 0.5944 MB / 354.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.02827, allocations: 4 kB / 354.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.02828, allocations: 0 / 354.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.02828, allocations: 3.984 kB / 354.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.02854, allocations: 300.2 kB / 355 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.02855, allocations: 0 / 355 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.02867, allocations: 35.92 kB / 355 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009655/0.02963, allocations: 426.3 kB / 355.4 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.02967, allocations: 11.98 kB / 355.4 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.03136, allocations: 2.906 MB / 358.3 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.03137, allocations: 3.984 kB / 358.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.0325, allocations: 0.7617 MB / 359.1 MB, free: 5.477 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.03262, allocations: 71.7 kB / 359.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.03267, allocations: 23.92 kB / 359.2 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.03285, allocations: 35.97 kB / 359.2 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.03294, allocations: 35.89 kB / 359.3 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.03297, allocations: 15.98 kB / 359.3 MB, free: 5.297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.03311, allocations: 213.1 kB / 359.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03311, allocations: 0 / 359.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000357/0.03347, allocations: 96.03 kB / 359.6 MB, free: 4.996 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001932/0.03366, allocations: 139.2 kB / 359.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.03449, allocations: 0.5831 MB / 360.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.03449, allocations: 0 / 360.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.03496, allocations: 446.4 kB / 360.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.03519, allocations: 40.34 kB / 360.8 MB, free: 3.707 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.03631, allocations: 0.6038 MB / 361.4 MB, free: 3.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.737e-05/0.03637, allocations: 85.33 kB / 361.5 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.376e-05/0.03645, allocations: 34.27 kB / 361.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.03651, allocations: 28.48 kB / 361.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.03651, allocations: 0 / 361.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of Templates: time 0.009531/0.04604, allocations: 6.265 MB / 367.8 MB, free: 12.7 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.900109000969678]