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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 182.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.4 MB / 235.1 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008381/0.0008381, allocations: 99.52 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06743/0.06743, allocations: 8.11 MB / 345.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.553e-05, allocations: 6.734 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 52.52 MB / 458.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4802, allocations: 82.69 MB / 0.5281 GB, free: 3.352 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.4805, allocations: 70.41 kB / 0.5282 GB, free: 3.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03269/0.5132, allocations: 12.17 MB / 0.5401 GB, free: 9.438 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5132, allocations: 0 / 0.5401 GB, free: 9.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.5133, allocations: 8 kB / 0.5401 GB, free: 9.43 MB / 362.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.002569/0.5158, allocations: 0.9067 MB / 0.5409 GB, free: 8.535 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.5159, allocations: 8.031 kB / 0.541 GB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.035e-05/0.516, allocations: 67.41 kB / 0.541 GB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.5161, allocations: 47.47 kB / 0.5411 GB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.5166, allocations: 351 kB / 0.5414 GB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.802e-05/0.5166, allocations: 52.77 kB / 0.5414 GB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.5167, allocations: 27.25 kB / 0.5415 GB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.5175, allocations: 447.8 kB / 0.5419 GB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5175, allocations: 3.938 kB / 0.5419 GB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.5175, allocations: 19.7 kB / 0.5419 GB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.5176, allocations: 8 kB / 0.5419 GB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006279/0.5182, allocations: 420.6 kB / 0.5423 GB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003189/0.5214, allocations: 2.156 MB / 0.5444 GB, free: 5.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009465/0.5223, allocations: 0.5206 MB / 0.5449 GB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.5227, allocations: 303.5 kB / 0.5452 GB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.646e-05/0.5228, allocations: 16.31 kB / 0.5453 GB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007038/0.5235, allocations: 0.5047 MB / 0.5457 GB, free: 4.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 2.845e-06/0.5236, allocations: 0 / 0.5457 GB, free: 4.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002673/0.5262, allocations: 1.083 MB / 0.5468 GB, free: 4.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.5264, allocations: 199.8 kB / 0.547 GB, free: 3.848 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.5267, allocations: 286.3 kB / 0.5473 GB, free: 3.617 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.5268, allocations: 35.14 kB / 0.5473 GB, free: 3.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.5269, allocations: 177.7 kB / 0.5475 GB, free: 3.449 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.5271, allocations: 156.2 kB / 0.5476 GB, free: 3.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.5271, allocations: 9.375 kB / 0.5476 GB, free: 3.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5273, allocations: 357 kB / 0.548 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.5276, allocations: 241.2 kB / 0.5482 GB, free: 2.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/0.5281, allocations: 287.7 kB / 0.5485 GB, free: 2.672 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/0.5285, allocations: 280.7 kB / 0.5487 GB, free: 2.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5285, allocations: 0 / 0.5487 GB, free: 2.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001302/0.5298, allocations: 0.875 MB / 0.5496 GB, free: 1.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/0.5299, allocations: 37.69 kB / 0.5496 GB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5299, allocations: 4 kB / 0.5496 GB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00407/0.5339, allocations: 0.8692 MB / 0.5505 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.5342, allocations: 59.22 kB / 0.5505 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.5361, allocations: 1.254 MB / 0.5518 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/0.5367, allocations: 90.28 kB / 0.5518 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.5368, allocations: 19.55 kB / 0.5519 GB, free: 40 kB / 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: 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.0003669/0.5372, allocations: 185.9 kB / 0.552 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/0.5373, allocations: 51.48 kB / 0.5521 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.5398, allocations: 1.248 MB / 0.5533 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.5399, allocations: 8 kB / 0.5533 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5399, allocations: 3.938 kB / 0.5533 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5399, allocations: 0 / 0.5533 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008361/0.5407, allocations: 0.6841 MB / 0.554 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5407, allocations: 0 / 0.554 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.541, allocations: 51.91 kB / 0.554 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003683/0.5446, allocations: 0.8961 MB / 0.5549 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.5447, allocations: 19.23 kB / 0.5549 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.5465, allocations: 1.337 MB / 0.5562 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5465, allocations: 3.984 kB / 0.5562 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.5488, allocations: 1.207 MB / 0.5574 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.5491, allocations: 204.4 kB / 0.5576 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.541e-05/0.5492, allocations: 23.94 kB / 0.5576 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005498/0.5498, allocations: 83.92 kB / 0.5577 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.55, allocations: 44.36 kB / 0.5578 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.55, allocations: 27.98 kB / 0.5578 GB, free: 11.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002738/0.5503, allocations: 238.2 kB / 0.558 GB, free: 10.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5503, allocations: 0 / 0.558 GB, free: 10.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004478/0.5508, allocations: 139.9 kB / 0.5581 GB, free: 10.7 MB / 378.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 (26): * Single equations (assignments): 25 * 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.002727/0.5535, allocations: 1.809 MB / 0.5599 GB, free: 8.852 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.5553, allocations: 0.8149 MB / 0.5607 GB, free: 8.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5553, allocations: 0 / 0.5607 GB, free: 8.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.5566, allocations: 0.6415 MB / 0.5613 GB, free: 7.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.5569, allocations: 37.2 kB / 0.5614 GB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.5584, allocations: 0.6488 MB / 0.562 GB, free: 6.656 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.5588, allocations: 0.809 MB / 0.5628 GB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.559, allocations: 47.25 kB / 0.5628 GB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.5592, allocations: 131.4 kB / 0.563 GB, free: 5.648 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5592, allocations: 4 kB / 0.563 GB, free: 5.645 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.5868, allocations: 12.98 MB / 0.5756 GB, free: 8.848 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.587, allocations: 183.9 kB / 0.5758 GB, free: 8.625 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.828, allocations: 0 / 0.5758 GB, free: 8.625 MB / 394.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)