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/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.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",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.001631/0.001631, allocations: 184.7 kB / 7.844 MB, free: 2.512 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.28/1.28, allocations: 221.4 MB / 229.7 MB, free: 3.094 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.0009148/0.0009148, allocations: 101.3 kB / 280.5 MB, free: 1.258 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.098 MB / 339.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1796/0.2144, allocations: 58.62 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07932/0.2938, allocations: 52.52 MB / 450.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2565/0.5503, allocations: 81.18 MB / 0.5192 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/0.5505, allocations: 71.53 kB / 0.5193 GB, free: 12.93 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.03372/0.5843, allocations: 12.72 MB / 0.5317 GB, free: 2.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5843, allocations: 11.94 kB / 0.5317 GB, free: 2.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.5846, allocations: 63.25 kB / 0.5318 GB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.5858, allocations: 486.1 kB / 0.5323 GB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.5858, allocations: 11.91 kB / 0.5323 GB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.5859, allocations: 12 kB / 0.5323 GB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006072/0.5865, allocations: 342.1 kB / 0.5326 GB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.5872, allocations: 414.4 kB / 0.533 GB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5872, allocations: 0 / 0.533 GB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.5872, allocations: 0.5625 kB / 0.533 GB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.5873, allocations: 4 kB / 0.533 GB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.5902, allocations: 1.414 MB / 0.5344 GB, free: 180 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.5908, allocations: 403.3 kB / 0.5348 GB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.5912, allocations: 274.7 kB / 0.535 GB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.5912, allocations: 7.984 kB / 0.535 GB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004679/0.5917, allocations: 482.9 kB / 0.5355 GB, free: 15.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.395e-06/0.5917, allocations: 4 kB / 0.5355 GB, free: 15.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.001898/0.5936, allocations: 0.8018 MB / 0.5363 GB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.5937, allocations: 245.9 kB / 0.5365 GB, free: 14.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007168/0.5945, allocations: 0.5697 MB / 0.5371 GB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.5945, allocations: 29.7 kB / 0.5371 GB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.5946, allocations: 162.6 kB / 0.5373 GB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.5948, allocations: 112.7 kB / 0.5374 GB, free: 13.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.5948, allocations: 4 kB / 0.5374 GB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.595, allocations: 379.4 kB / 0.5377 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.5952, allocations: 211.7 kB / 0.5379 GB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.5956, allocations: 276.1 kB / 0.5382 GB, free: 12.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.596, allocations: 236.7 kB / 0.5384 GB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.596, allocations: 0 / 0.5384 GB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001832/0.5979, allocations: 0.7951 MB / 0.5392 GB, free: 12.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5979, allocations: 11.94 kB / 0.5392 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5979, allocations: 0 / 0.5392 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.5995, allocations: 341.5 kB / 0.5395 GB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.5998, allocations: 51.72 kB / 0.5396 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.6016, allocations: 2.042 MB / 0.5416 GB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.6021, allocations: 71.89 kB / 0.5417 GB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.6022, allocations: 22.55 kB / 0.5417 GB, free: 9.691 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0002523/0.6025, allocations: 207.4 kB / 0.5419 GB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.6026, allocations: 67.25 kB / 0.5419 GB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.6045, allocations: 0.9958 MB / 0.5429 GB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6045, allocations: 4 kB / 0.5429 GB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.6045, allocations: 0 / 0.5429 GB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6045, allocations: 0 / 0.5429 GB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.605, allocations: 0.5458 MB / 0.5435 GB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6051, allocations: 0 / 0.5435 GB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.6052, allocations: 27.98 kB / 0.5435 GB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.6068, allocations: 396.2 kB / 0.5439 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.6069, allocations: 11.98 kB / 0.5439 GB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.6087, allocations: 2.136 MB / 0.546 GB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6088, allocations: 3.984 kB / 0.546 GB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00175/0.6105, allocations: 0.9914 MB / 0.5469 GB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001795/0.6123, allocations: 1.368 MB / 0.5483 GB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.6128, allocations: 247.4 kB / 0.5485 GB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.6129, allocations: 14.69 kB / 0.5485 GB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.6134, allocations: 71.94 kB / 0.5486 GB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.6135, allocations: 36.77 kB / 0.5486 GB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.6136, allocations: 30.8 kB / 0.5486 GB, free: 3.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0004603/0.6141, allocations: 460.9 kB / 0.5491 GB, free: 3.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001018/0.6151, allocations: 134 kB / 0.5492 GB, free: 3.195 MB / 362.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: 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 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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.0003222/0.6154, allocations: 175 kB / 0.5494 GB, free: 3.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.6166, allocations: 0.6554 MB / 0.55 GB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.6166, allocations: 0 / 0.55 GB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009019/0.6175, allocations: 0.6176 MB / 0.5506 GB, free: 2.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.6178, allocations: 36.75 kB / 0.5507 GB, free: 2.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.6194, allocations: 0.7952 MB / 0.5514 GB, free: 1.367 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/0.6199, allocations: 0.9165 MB / 0.5523 GB, free: 440 kB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.62, allocations: 0 / 0.5523 GB, free: 440 kB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1)