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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 109.5 kB / 16.45 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 192 kB / 17.39 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04973/0.04973, allocations: 8.101 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 59.91 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.1003, allocations: 51.53 MB / 465.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003558/0.1039, allocations: 2.649 MB / 468.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1059, allocations: 1.359 MB / 469.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.1061, allocations: 8 kB / 469.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.1067, allocations: 266.9 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.1072, allocations: 250.8 kB / 470 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.109, allocations: 1.031 MB / 471.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006686/0.1097, allocations: 470.4 kB / 471.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1099, allocations: 79.5 kB / 471.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.1102, allocations: 203.3 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.1106, allocations: 314.9 kB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.044e-05/0.1107, allocations: 32 kB / 472.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005722/0.1113, allocations: 319.7 kB / 472.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.1115, allocations: 143.5 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.1117, allocations: 234.5 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008755/0.1126, allocations: 0.7252 MB / 473.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1126, allocations: 0 / 473.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1126, allocations: 0 / 473.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1127, allocations: 0 / 473.5 MB, free: 10.57 MB / 350.1 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.003754/0.1164, allocations: 1.358 MB / 474.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1165, allocations: 11.89 kB / 474.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.289e-05/0.1165, allocations: 54.73 kB / 475 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.1166, allocations: 68.09 kB / 475 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/0.1173, allocations: 475.8 kB / 475.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.1173, allocations: 12.38 kB / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.1174, allocations: 28.12 kB / 475.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007069/0.1181, allocations: 406.2 kB / 475.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1181, allocations: 0 / 475.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.1181, allocations: 11.94 kB / 475.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.1182, allocations: 4 kB / 476 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.1187, allocations: 344.9 kB / 476.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.1204, allocations: 1.105 MB / 477.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/0.1214, allocations: 0.5103 MB / 477.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/0.1218, allocations: 277 kB / 478.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/0.1231, allocations: 0.8743 MB / 479 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006918/0.1238, allocations: 480.6 kB / 479.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.146e-06/0.1238, allocations: 0 / 479.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003464/0.1273, allocations: 1.401 MB / 480.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.1274, allocations: 251.5 kB / 481.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007331/0.1282, allocations: 0.6786 MB / 481.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.1282, allocations: 37.7 kB / 481.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.1284, allocations: 260.6 kB / 482.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.1285, allocations: 118.3 kB / 482.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.1287, allocations: 90.05 kB / 482.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1288, allocations: 378.8 kB / 482.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.1291, allocations: 196.9 kB / 482.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.1295, allocations: 299.2 kB / 483.2 MB, free: 408 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003457/0.133, allocations: 1.406 MB / 484.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.133, allocations: 3.938 kB / 484.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001756/0.1347, allocations: 0.9268 MB / 485.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/0.1348, allocations: 71.33 kB / 485.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1348, allocations: 8 kB / 485.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.1363, allocations: 363.2 kB / 486 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.1365, allocations: 63.91 kB / 486 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.1387, allocations: 2.249 MB / 488.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.1392, allocations: 87.62 kB / 488.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.1393, allocations: 20 kB / 488.4 MB, free: 10.9 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) "Current tap position" type: Integer varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004052/0.1397, allocations: 332.1 kB / 488.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/0.1398, allocations: 67.23 kB / 488.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.142, allocations: 1.169 MB / 489.9 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1421, allocations: 4 kB / 489.9 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1421, allocations: 0 / 489.9 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1421, allocations: 0 / 489.9 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.1426, allocations: 0.5478 MB / 490.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1426, allocations: 0 / 490.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.1428, allocations: 39.98 kB / 490.5 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/0.1442, allocations: 407 kB / 490.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.1443, allocations: 23.92 kB / 490.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.1466, allocations: 2.361 MB / 493.3 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1466, allocations: 4.156 kB / 493.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.1489, allocations: 1.181 MB / 494.5 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.1492, allocations: 200.2 kB / 494.7 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-05/0.1493, allocations: 20 kB / 494.7 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.1497, allocations: 63.88 kB / 494.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.1498, allocations: 35.95 kB / 494.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/0.1499, allocations: 19.98 kB / 494.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005644/0.1504, allocations: 494.8 kB / 495.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1504, allocations: 0 / 495.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005189/0.151, allocations: 140 kB / 495.4 MB, free: 3.504 MB / 366.1 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 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002637/0.1536, allocations: 1.784 MB / 497.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.1552, allocations: 0.8803 MB / 498.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1552, allocations: 0 / 498.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.1562, allocations: 0.7089 MB / 498.8 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.1566, allocations: 62.95 kB / 498.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009643/0.1662, allocations: 6.981 MB / 0.494 GB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.1667, allocations: 0.8756 MB / 0.4949 GB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.1669, allocations: 63.25 kB / 0.4949 GB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.1671, allocations: 187.4 kB / 0.4951 GB, free: 7.641 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1671, allocations: 3.938 kB / 0.4951 GB, free: 7.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2663/0.4334, allocations: 14.71 MB / 0.5095 GB, free: 46.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.1, allocations: 9.25 kB / 0.5095 GB, free: 46.99 MB / 382.1 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/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)