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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, 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.43/1.43, allocations: 221.4 MB / 235.1 MB, free: 14.43 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.0008872/0.0008872, allocations: 102.5 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.05737/0.05736, allocations: 8.095 MB / 345.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.557e-05/4.573e-05, allocations: 8 kB / 405.6 MB, free: 61.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0843/0.08437, allocations: 52.51 MB / 458.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3825/0.4669, allocations: 81.83 MB / 0.5273 GB, free: 4.242 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4671, allocations: 70.03 kB / 0.5273 GB, free: 4.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03443/0.5016, allocations: 12.16 MB / 0.5392 GB, free: 10.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5016, allocations: 4 kB / 0.5392 GB, free: 10.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.29e-05/0.5017, allocations: 8 kB / 0.5392 GB, free: 10.09 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002632/0.5043, allocations: 0.9585 MB / 0.5401 GB, free: 9.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5044, allocations: 8.031 kB / 0.5402 GB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.5045, allocations: 53.05 kB / 0.5402 GB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.5047, allocations: 63.25 kB / 0.5403 GB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008974/0.5056, allocations: 474.9 kB / 0.5407 GB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.5057, allocations: 22.92 kB / 0.5407 GB, free: 8.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/0.5057, allocations: 19.44 kB / 0.5408 GB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007512/0.5065, allocations: 440.9 kB / 0.5412 GB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5065, allocations: 0 / 0.5412 GB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.5066, allocations: 10.62 kB / 0.5412 GB, free: 8.203 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.5066, allocations: 4 kB / 0.5412 GB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.5071, allocations: 356.2 kB / 0.5415 GB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.5093, allocations: 1.215 MB / 0.5427 GB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008562/0.5102, allocations: 451.1 kB / 0.5431 GB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.5106, allocations: 289 kB / 0.5434 GB, free: 6.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.5117, allocations: 0.8537 MB / 0.5443 GB, free: 5.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006298/0.5123, allocations: 0.5023 MB / 0.5447 GB, free: 5.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.625e-06/0.5123, allocations: 0 / 0.5447 GB, free: 5.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.002063/0.5144, allocations: 0.9879 MB / 0.5457 GB, free: 4.516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.5145, allocations: 246.8 kB / 0.5459 GB, free: 4.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007143/0.5152, allocations: 0.6067 MB / 0.5465 GB, free: 3.711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.5153, allocations: 40.95 kB / 0.5466 GB, free: 3.672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.5155, allocations: 258.7 kB / 0.5468 GB, free: 3.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.5156, allocations: 124.5 kB / 0.5469 GB, free: 3.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.5156, allocations: 7.062 kB / 0.547 GB, free: 3.414 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5158, allocations: 375.3 kB / 0.5473 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.5161, allocations: 215.9 kB / 0.5475 GB, free: 2.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.5165, allocations: 289.8 kB / 0.5478 GB, free: 2.691 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.5169, allocations: 304.9 kB / 0.5481 GB, free: 2.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5169, allocations: 0 / 0.5481 GB, free: 2.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001951/0.5189, allocations: 0.9852 MB / 0.549 GB, free: 1.652 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.519, allocations: 70.95 kB / 0.5491 GB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.519, allocations: 4 kB / 0.5491 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/0.5205, allocations: 348.1 kB / 0.5494 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.5207, allocations: 51.84 kB / 0.5495 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.5227, allocations: 2.146 MB / 0.5516 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.5232, allocations: 83.27 kB / 0.5517 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.5233, allocations: 27.25 kB / 0.5517 GB, free: 15 MB / 378.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.0002744/0.5235, allocations: 215.9 kB / 0.5519 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5237, allocations: 67.25 kB / 0.552 GB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.5259, allocations: 1.206 MB / 0.5531 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5259, allocations: 4 kB / 0.5531 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5259, allocations: 3.938 kB / 0.5532 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5259, allocations: 0 / 0.5532 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006093/0.5265, allocations: 0.597 MB / 0.5537 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.5266, allocations: 0 / 0.5537 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.5267, allocations: 38.92 kB / 0.5538 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.5281, allocations: 386.9 kB / 0.5541 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/0.5282, allocations: 19.61 kB / 0.5542 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.5302, allocations: 2.214 MB / 0.5563 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5302, allocations: 4.031 kB / 0.5563 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.5322, allocations: 1.201 MB / 0.5575 GB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/0.5326, allocations: 223.6 kB / 0.5577 GB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.5327, allocations: 26 kB / 0.5577 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.5332, allocations: 63.44 kB / 0.5578 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5333, allocations: 42.77 kB / 0.5578 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/0.5334, allocations: 31.11 kB / 0.5579 GB, free: 9.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006079/0.534, allocations: 496.5 kB / 0.5583 GB, free: 9.172 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.534, allocations: 0 / 0.5583 GB, free: 9.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004963/0.5345, allocations: 141.8 kB / 0.5585 GB, free: 9.043 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: 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.002129/0.5366, allocations: 1.72 MB / 0.5602 GB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.5379, allocations: 0.8207 MB / 0.561 GB, free: 6.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5379, allocations: 0 / 0.561 GB, free: 6.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008977/0.5388, allocations: 0.7009 MB / 0.5616 GB, free: 6.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.5392, allocations: 46.69 kB / 0.5617 GB, free: 6.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.541, allocations: 0.9406 MB / 0.5626 GB, free: 5.602 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.5415, allocations: 0.8857 MB / 0.5635 GB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.5417, allocations: 55.25 kB / 0.5635 GB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.542, allocations: 185.3 kB / 0.5637 GB, free: 4.547 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.542, allocations: 4 kB / 0.5637 GB, free: 4.543 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.5728, allocations: 13 MB / 0.5764 GB, free: 7.715 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.5731, allocations: 203.4 kB / 0.5766 GB, free: 7.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.841, allocations: 0 / 0.5766 GB, free: 7.48 MB / 394.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)