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/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.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",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.001037/0.001037, allocations: 192.9 kB / 7.846 MB, free: 2.5 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.135/1.135, allocations: 221.4 MB / 229.7 MB, free: 3.082 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.0009691/0.0009692, allocations: 94.67 kB / 280.5 MB, free: 1.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03644/0.03644, allocations: 8.105 MB / 339.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1744/0.2108, allocations: 58.63 MB / 398 MB, free: 67.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08025/0.2911, allocations: 52.51 MB / 450.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2706/0.5617, allocations: 82.02 MB / 0.5201 GB, free: 12.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001751/0.5619, allocations: 69.09 kB / 0.5201 GB, free: 12.41 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.03407/0.596, allocations: 12.66 MB / 0.5325 GB, free: 2.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5961, allocations: 15.92 kB / 0.5325 GB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.5962, allocations: 47.44 kB / 0.5326 GB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.5967, allocations: 347.8 kB / 0.5329 GB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/0.5968, allocations: 42.36 kB / 0.5329 GB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-05/0.5968, allocations: 20 kB / 0.5329 GB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006449/0.5975, allocations: 407 kB / 0.5333 GB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.5982, allocations: 402.6 kB / 0.5337 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5982, allocations: 3.938 kB / 0.5337 GB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/0.5982, allocations: 4 kB / 0.5337 GB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.5982, allocations: 4 kB / 0.5337 GB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/0.6017, allocations: 2.123 MB / 0.5358 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.6023, allocations: 458.3 kB / 0.5362 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.6027, allocations: 290.9 kB / 0.5365 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.411e-05/0.6028, allocations: 12.25 kB / 0.5365 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000598/0.6034, allocations: 464.2 kB / 0.537 GB, free: 14.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 3.086e-06/0.6034, allocations: 0 / 0.537 GB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.003906/0.6073, allocations: 1.19 MB / 0.5381 GB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/0.6074, allocations: 195.7 kB / 0.5383 GB, free: 13.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.6077, allocations: 264.4 kB / 0.5386 GB, free: 13.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.6078, allocations: 33.52 kB / 0.5386 GB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.6079, allocations: 146.3 kB / 0.5387 GB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.608, allocations: 147.3 kB / 0.5389 GB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.608, allocations: 4 kB / 0.5389 GB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6082, allocations: 351.7 kB / 0.5392 GB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.6085, allocations: 228.8 kB / 0.5394 GB, free: 12.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.6089, allocations: 278.7 kB / 0.5397 GB, free: 12.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006431/0.6095, allocations: 270.1 kB / 0.54 GB, free: 12.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6095, allocations: 4 kB / 0.54 GB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001526/0.6111, allocations: 0.827 MB / 0.5408 GB, free: 11.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.6111, allocations: 8 kB / 0.5408 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6111, allocations: 0 / 0.5408 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003769/0.6149, allocations: 0.7962 MB / 0.5416 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.6152, allocations: 63.58 kB / 0.5416 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.6171, allocations: 1.285 MB / 0.5429 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.6177, allocations: 87.56 kB / 0.543 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.6178, allocations: 14.81 kB / 0.543 GB, free: 10.09 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: varLoad.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real varTra.UB:VARIABLE(unit = "V" ) "Voltage at port B" 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 ($whenCondition5,$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,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002926/0.6181, allocations: 178.5 kB / 0.5431 GB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.6182, allocations: 47.44 kB / 0.5432 GB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.6206, allocations: 1.155 MB / 0.5443 GB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.6206, allocations: 7.938 kB / 0.5443 GB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6206, allocations: 0 / 0.5443 GB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.6207, allocations: 3.984 kB / 0.5443 GB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.6213, allocations: 0.6267 MB / 0.5449 GB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6213, allocations: 0 / 0.5449 GB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.6215, allocations: 43.97 kB / 0.545 GB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003745/0.6253, allocations: 0.8474 MB / 0.5458 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.6253, allocations: 15.92 kB / 0.5458 GB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.6273, allocations: 1.407 MB / 0.5472 GB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6273, allocations: 0 / 0.5472 GB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00232/0.6297, allocations: 1.124 MB / 0.5483 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002552/0.6322, allocations: 1.517 MB / 0.5498 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.6326, allocations: 212.4 kB / 0.55 GB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.6327, allocations: 12 kB / 0.55 GB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.6333, allocations: 79.94 kB / 0.5501 GB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.6335, allocations: 47.92 kB / 0.5501 GB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.6335, allocations: 23.92 kB / 0.5501 GB, free: 4.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002312/0.6338, allocations: 207.1 kB / 0.5503 GB, free: 4.113 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001074/0.6348, allocations: 131.8 kB / 0.5505 GB, free: 3.984 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: 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002797/0.6351, allocations: 148 kB / 0.5506 GB, free: 3.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.6368, allocations: 0.7144 MB / 0.5513 GB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6368, allocations: 0 / 0.5513 GB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.6381, allocations: 0.5905 MB / 0.5519 GB, free: 2.512 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.6384, allocations: 29 kB / 0.5519 GB, free: 2.484 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.6397, allocations: 0.5486 MB / 0.5524 GB, free: 1.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004579/0.6402, allocations: 0.8473 MB / 0.5533 GB, free: 1.039 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.6402, allocations: 0 / 0.5533 GB, free: 1.039 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1)