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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.00161, allocations: 192 kB / 7.846 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.4 MB / 229.7 MB, free: 2.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008902/0.0008903, allocations: 91.12 kB / 280.5 MB, free: 1.215 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03478/0.03478, allocations: 8.096 MB / 339.4 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.164/0.1988, allocations: 58.63 MB / 398 MB, free: 67.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0796/0.2785, allocations: 52.5 MB / 450.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2574/0.5359, allocations: 79.97 MB / 0.5181 GB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.5362, allocations: 66.16 kB / 0.5181 GB, free: 14.1 MB / 346.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.02501/0.5612, allocations: 9.309 MB / 0.5272 GB, free: 6.605 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5613, allocations: 15.92 kB / 0.5272 GB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/0.5614, allocations: 39.62 kB / 0.5273 GB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.5618, allocations: 288.8 kB / 0.5275 GB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.5618, allocations: 8 kB / 0.5275 GB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.5619, allocations: 12 kB / 0.5276 GB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004162/0.5623, allocations: 238 kB / 0.5278 GB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.5628, allocations: 291.2 kB / 0.5281 GB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5629, allocations: 3.984 kB / 0.5281 GB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.5629, allocations: 0 / 0.5281 GB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.5629, allocations: 4 kB / 0.5281 GB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.5647, allocations: 1.144 MB / 0.5292 GB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.5649, allocations: 180.6 kB / 0.5294 GB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.5652, allocations: 167.8 kB / 0.5295 GB, free: 4.715 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.5652, allocations: 7.562 kB / 0.5295 GB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.5656, allocations: 332.4 kB / 0.5298 GB, free: 4.418 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.5656, allocations: 0 / 0.5298 GB, free: 4.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.001397/0.567, allocations: 0.5559 MB / 0.5304 GB, free: 4.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.5671, allocations: 221.5 kB / 0.5306 GB, free: 3.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.5673, allocations: 218.3 kB / 0.5308 GB, free: 3.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.5674, allocations: 32.58 kB / 0.5308 GB, free: 3.555 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.5674, allocations: 130 kB / 0.531 GB, free: 3.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.5675, allocations: 95.88 kB / 0.531 GB, free: 3.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.5675, allocations: 4 kB / 0.5311 GB, free: 3.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5677, allocations: 336.8 kB / 0.5314 GB, free: 3.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.5679, allocations: 108.2 kB / 0.5315 GB, free: 2.961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.5681, allocations: 190.5 kB / 0.5317 GB, free: 2.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.5684, allocations: 133.2 kB / 0.5318 GB, free: 2.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5684, allocations: 4 kB / 0.5318 GB, free: 2.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001538/0.5699, allocations: 0.5621 MB / 0.5323 GB, free: 2.289 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.57, allocations: 4 kB / 0.5323 GB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.57, allocations: 4.188 kB / 0.5323 GB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.5715, allocations: 343.5 kB / 0.5327 GB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.5718, allocations: 51.91 kB / 0.5327 GB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.5737, allocations: 2.037 MB / 0.5347 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.5741, allocations: 71.7 kB / 0.5348 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.5741, allocations: 11.62 kB / 0.5348 GB, free: 15.83 MB / 362.7 MB Warning: Assuming fixed start value for the following 4 variables: varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = false ) "Current tap position" type: Integer slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.varTra.tapChanger.tap,varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,$PRE.varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002483/0.5744, allocations: 180.4 kB / 0.535 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.5745, allocations: 35.62 kB / 0.535 GB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.576, allocations: 0.7248 MB / 0.5357 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.576, allocations: 7.984 kB / 0.5357 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.576, allocations: 0 / 0.5357 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.576, allocations: 4 kB / 0.5357 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.5765, allocations: 422.1 kB / 0.5361 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5765, allocations: 0 / 0.5361 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.5767, allocations: 31.98 kB / 0.5362 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.5782, allocations: 393.7 kB / 0.5365 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.5782, allocations: 11.3 kB / 0.5365 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.5802, allocations: 2.147 MB / 0.5386 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5802, allocations: 4 kB / 0.5386 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001651/0.5818, allocations: 0.928 MB / 0.5395 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002033/0.5839, allocations: 1.497 MB / 0.541 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.5841, allocations: 160 kB / 0.5412 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.5842, allocations: 13.44 kB / 0.5412 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.5846, allocations: 64 kB / 0.5412 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5847, allocations: 37.95 kB / 0.5413 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.5847, allocations: 15.42 kB / 0.5413 GB, free: 10.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001597/0.5849, allocations: 182.2 kB / 0.5415 GB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009346/0.5859, allocations: 90.56 kB / 0.5415 GB, free: 10.23 MB / 362.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002622/0.5861, allocations: 146 kB / 0.5417 GB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.5871, allocations: 497.2 kB / 0.5422 GB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5872, allocations: 0 / 0.5422 GB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007419/0.5879, allocations: 489.3 kB / 0.5426 GB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.5881, allocations: 27.31 kB / 0.5426 GB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008215/0.5889, allocations: 414.9 kB / 0.543 GB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.5894, allocations: 0.802 MB / 0.5438 GB, free: 8.215 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5894, allocations: 0 / 0.5438 GB, free: 8.215 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2_fmu --startTime=0 --stopTime=3000 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1)