Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 106.8 kB / 17.07 MB, free: 5.68 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.001173/0.001173, allocations: 196 kB / 18.01 MB, free: 5.02 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.306/1.306, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05089/0.05089, allocations: 8.092 MB / 300 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.91 kB / 363.2 MB, free: 7.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2009, allocations: 51.51 MB / 414.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003004/0.2039, allocations: 2.649 MB / 417.3 MB, free: 22.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.2056, allocations: 1.363 MB / 418.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.2057, allocations: 4 kB / 418.7 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.2061, allocations: 263 kB / 419 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.2065, allocations: 254.8 kB / 419.2 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.2079, allocations: 1.022 MB / 420.2 MB, free: 19.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.2083, allocations: 466.5 kB / 420.7 MB, free: 19.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2084, allocations: 80.61 kB / 420.8 MB, free: 19.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.2085, allocations: 207.4 kB / 421 MB, free: 19.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.2088, allocations: 299.1 kB / 421.3 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.2088, allocations: 32 kB / 421.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.2092, allocations: 323.7 kB / 421.6 MB, free: 18.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.2094, allocations: 147.4 kB / 421.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.2095, allocations: 250.5 kB / 422 MB, free: 18.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005174/0.21, allocations: 0.7183 MB / 422.7 MB, free: 17.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2101, allocations: 0 / 422.7 MB, free: 17.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2101, allocations: 0 / 422.7 MB, free: 17.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.2101, allocations: 3.938 kB / 422.7 MB, free: 17.38 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.003449/0.2135, allocations: 1.346 MB / 424.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2136, allocations: 15.89 kB / 424.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.2137, allocations: 68.19 kB / 424.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.2142, allocations: 471.8 kB / 424.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.2142, allocations: 16.38 kB / 424.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.2143, allocations: 24.38 kB / 424.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.2149, allocations: 414.1 kB / 425.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2149, allocations: 0 / 425.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.215, allocations: 8 kB / 425.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.215, allocations: 4 kB / 425.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.2155, allocations: 344.6 kB / 425.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.2168, allocations: 1.105 MB / 426.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007986/0.2176, allocations: 0.5249 MB / 427 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.218, allocations: 273 kB / 427.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008779/0.2189, allocations: 0.8626 MB / 428.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004938/0.2194, allocations: 488.5 kB / 428.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.944e-06/0.2194, allocations: 4 kB / 428.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003052/0.2224, allocations: 1.405 MB / 430 MB, free: 9.668 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.2225, allocations: 251.5 kB / 430.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005372/0.2231, allocations: 0.6748 MB / 431 MB, free: 8.684 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.2231, allocations: 37.7 kB / 431 MB, free: 8.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.2232, allocations: 260.6 kB / 431.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.2233, allocations: 118.4 kB / 431.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.2234, allocations: 86.05 kB / 431.5 MB, free: 8.168 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.2235, allocations: 378.8 kB / 431.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.2237, allocations: 200.9 kB / 432 MB, free: 7.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.224, allocations: 303.1 kB / 432.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.2271, allocations: 1.394 MB / 433.7 MB, free: 5.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2271, allocations: 7.938 kB / 433.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001526/0.2286, allocations: 0.9349 MB / 434.7 MB, free: 4.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.2287, allocations: 71.31 kB / 434.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2287, allocations: 4 kB / 434.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.2301, allocations: 351.3 kB / 435.1 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.2303, allocations: 63.91 kB / 435.1 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.232, allocations: 2.264 MB / 437.4 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.2325, allocations: 83.52 kB / 437.5 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.2325, allocations: 23.98 kB / 437.5 MB, free: 1.773 MB / 302.1 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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($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,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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.0003603/0.2329, allocations: 326.2 kB / 437.8 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.233, allocations: 67.25 kB / 437.9 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.2349, allocations: 1.165 MB / 439.1 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.2349, allocations: 8 kB / 439.1 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.235, allocations: 0 / 439.1 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.235, allocations: 3.984 kB / 439.1 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.2355, allocations: 0.5478 MB / 439.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2355, allocations: 3.938 kB / 439.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.2357, allocations: 27.98 kB / 439.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.2372, allocations: 403 kB / 440 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.2373, allocations: 19.92 kB / 440.1 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.2397, allocations: 2.372 MB / 442.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.2397, allocations: 11.95 kB / 442.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.242, allocations: 1.17 MB / 443.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/0.2423, allocations: 204.2 kB / 443.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/0.2424, allocations: 20 kB / 443.8 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.2428, allocations: 67.75 kB / 443.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2429, allocations: 35.95 kB / 443.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.243, allocations: 19.98 kB / 444 MB, free: 10.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005417/0.2435, allocations: 494.8 kB / 444.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2435, allocations: 4 kB / 444.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005063/0.244, allocations: 144 kB / 444.6 MB, free: 10.36 MB / 318.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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.0003057/0.2444, allocations: 171.1 kB / 444.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.2458, allocations: 0.8687 MB / 445.6 MB, free: 9.273 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2458, allocations: 0 / 445.6 MB, free: 9.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.2469, allocations: 0.7132 MB / 446.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.2472, allocations: 55 kB / 446.4 MB, free: 8.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.2488, allocations: 1.074 MB / 447.5 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.2492, allocations: 0.8718 MB / 448.3 MB, free: 6.477 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.2494, allocations: 55.25 kB / 448.4 MB, free: 6.422 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.2495, allocations: 35.44 kB / 448.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2495, allocations: 0 / 448.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of Templates: time 0.01374/0.2632, allocations: 8.358 MB / 456.8 MB, free: 14.07 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1)