Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.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.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",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.001906/0.001906, allocations: 102.2 kB / 16.45 MB, free: 6.441 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.002236/0.002236, allocations: 189.4 kB / 17.38 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.517/1.517, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0542/0.0542, allocations: 8.093 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.89 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09746, allocations: 51.51 MB / 465.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002888/0.1004, allocations: 1.644 MB / 467.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1016, allocations: 0.6118 MB / 467.7 MB, free: 424 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.1017, allocations: 0 / 467.7 MB, free: 424 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.1019, allocations: 127.7 kB / 467.9 MB, free: 296 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1022, allocations: 135.6 kB / 468 MB, free: 160 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.1026, allocations: 111.7 kB / 468.1 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.103, allocations: 243.5 kB / 468.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1031, allocations: 13.12 kB / 468.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.1032, allocations: 115.6 kB / 468.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.1035, allocations: 203.5 kB / 468.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.1036, allocations: 12 kB / 468.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.1038, allocations: 87.94 kB / 468.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.1039, allocations: 99.72 kB / 468.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.1041, allocations: 135 kB / 469 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.1045, allocations: 326.9 kB / 469.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.1045, allocations: 0 / 469.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1045, allocations: 7.875 kB / 469.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1045, allocations: 0 / 469.3 MB, free: 14.83 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001051/0.1056, allocations: 0.7189 MB / 470 MB, free: 14.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1057, allocations: 19.88 kB / 470 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.56e-05/0.1057, allocations: 38.75 kB / 470.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.318e-05/0.1058, allocations: 44.66 kB / 470.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.1063, allocations: 370.5 kB / 470.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1064, allocations: 12.31 kB / 470.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1064, allocations: 12.12 kB / 470.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.1068, allocations: 177.5 kB / 470.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1068, allocations: 0 / 470.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.1068, allocations: 4 kB / 470.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1068, allocations: 0 / 470.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.1071, allocations: 119.9 kB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/0.1079, allocations: 0.4965 MB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.1082, allocations: 162.5 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.1085, allocations: 148.7 kB / 471.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.1085, allocations: 7.938 kB / 471.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004863/0.109, allocations: 359.8 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.109, allocations: 0 / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.00104/0.1101, allocations: 0.5733 MB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.1102, allocations: 217.6 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006418/0.1109, allocations: 0.5643 MB / 473.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.1109, allocations: 33.64 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.1111, allocations: 200.1 kB / 473.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.1112, allocations: 51.77 kB / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/0.1112, allocations: 37.7 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1114, allocations: 358.7 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.1116, allocations: 95.97 kB / 474.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1117, allocations: 113.7 kB / 474.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000721/0.1124, allocations: 0.6142 MB / 474.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1124, allocations: 4.031 kB / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005397/0.113, allocations: 420.7 kB / 475.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/0.1131, allocations: 75.38 kB / 475.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1131, allocations: 0 / 475.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1131, allocations: 0 / 475.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.1132, allocations: 8 kB / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1132, allocations: 0 / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.1135, allocations: 47.95 kB / 475.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.1135, allocations: 8 kB / 475.4 MB, free: 8.371 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) "Current tap position" type: Integer tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real 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: 1 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.tapChanger.tap,$PRE.tapChanger.furtherTapChangeTimeout,$PRE.tapChanger.abnormalUTime,tapChanger.furtherTapChangeTimeout,tapChanger.increaseEvent,tapChanger.decreaseEvent,tapChanger.normalU,tapChanger.abnormalUTime,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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003487/0.1139, allocations: 288.8 kB / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.114, allocations: 51.66 kB / 475.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.1141, allocations: 55.84 kB / 475.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.1141, allocations: 0 / 475.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1141, allocations: 0 / 475.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1141, allocations: 4 kB / 475.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.1144, allocations: 349.2 kB / 476.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1144, allocations: 0 / 476.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.1145, allocations: 7.938 kB / 476.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1145, allocations: 0 / 476.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.1145, allocations: 11.98 kB / 476.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1145, allocations: 0 / 476.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1145, allocations: 48 / 476.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009284/0.1155, allocations: 0.5414 MB / 476.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.1157, allocations: 156.8 kB / 476.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/0.1157, allocations: 12 kB / 476.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.116, allocations: 43.95 kB / 476.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.1161, allocations: 19.97 kB / 476.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.1162, allocations: 19.98 kB / 476.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004982/0.1167, allocations: 411.1 kB / 477.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1167, allocations: 0 / 477.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.117, allocations: 79.88 kB / 477.4 MB, free: 6.234 MB / 350.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,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (tapChanger.tap,tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.1183, allocations: 1.119 MB / 478.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006768/0.119, allocations: 474.5 kB / 479 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.119, allocations: 3.938 kB / 479 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005461/0.1195, allocations: 454.7 kB / 479.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1198, allocations: 37.34 kB / 479.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/0.1261, allocations: 4.917 MB / 484.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.1266, allocations: 0.8072 MB / 485.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.1267, allocations: 41.92 kB / 485.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.1269, allocations: 119.4 kB / 485.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1269, allocations: 0 / 485.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.1577, allocations: 8.245 MB / 493.6 MB, free: 5.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/8.665, allocations: 11.88 kB / 493.6 MB, free: 5.895 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation1_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation1.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1)