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.001074/0.001074, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001112/0.001112, allocations: 186.4 kB / 17.38 MB, free: 5.668 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.239/1.239, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04558/0.04558, allocations: 8.11 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08485/0.08602, allocations: 51.51 MB / 465.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002728/0.08879, allocations: 1.628 MB / 467.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.08991, allocations: 0.6235 MB / 467.7 MB, free: 416 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.09002, allocations: 0 / 467.7 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.09024, allocations: 119.7 kB / 467.8 MB, free: 296 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.09047, allocations: 139.6 kB / 468 MB, free: 156 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.09088, allocations: 111.7 kB / 468.1 MB, free: 44 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.09115, allocations: 243.5 kB / 468.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.96e-05/0.09124, allocations: 9.125 kB / 468.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.0914, allocations: 123.6 kB / 468.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.09166, allocations: 207.5 kB / 468.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.0917, allocations: 12 kB / 468.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.09184, allocations: 79.94 kB / 468.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.09196, allocations: 99.72 kB / 468.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.09209, allocations: 135 kB / 469 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.09245, allocations: 325.8 kB / 469.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.09247, allocations: 4 kB / 469.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09247, allocations: 0 / 469.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.09249, 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.0008979/0.09339, allocations: 0.7043 MB / 470 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.09343, allocations: 15.83 kB / 470 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.09349, allocations: 42.73 kB / 470.1 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.09357, allocations: 44.47 kB / 470.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.09406, allocations: 374 kB / 470.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.09408, allocations: 8.375 kB / 470.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.09412, allocations: 16.06 kB / 470.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.09444, allocations: 169.6 kB / 470.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.09446, allocations: 0 / 470.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.09448, allocations: 4 kB / 470.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.09449, allocations: 3.938 kB / 470.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.09471, allocations: 111.9 kB / 470.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.09539, allocations: 0.5005 MB / 471.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.09564, allocations: 162.5 kB / 471.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.09587, allocations: 144.8 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.09589, allocations: 4 kB / 471.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.09631, allocations: 380.7 kB / 471.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.362e-06/0.09632, allocations: 0 / 471.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008871/0.09722, allocations: 0.5667 MB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.09733, allocations: 217.6 kB / 472.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.0979, allocations: 0.5565 MB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.09793, allocations: 29.7 kB / 473.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.09808, allocations: 200 kB / 473.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.09814, allocations: 43.5 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.646e-05/0.09821, allocations: 37.7 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.09835, allocations: 370.7 kB / 473.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.09847, allocations: 91.97 kB / 474 MB, free: 9.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.09861, allocations: 115.3 kB / 474.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.09921, allocations: 0.6182 MB / 474.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.09922, allocations: 0 / 474.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004412/0.09967, allocations: 412.5 kB / 475.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.09973, allocations: 75.38 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.09975, allocations: 0 / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.09976, allocations: 7.969 kB / 475.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.09983, allocations: 8 kB / 475.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.09984, allocations: 0 / 475.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.1001, allocations: 55.8 kB / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1001, allocations: 4 kB / 475.3 MB, free: 8.395 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.000277/0.1004, allocations: 288.8 kB / 475.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.1005, allocations: 47.53 kB / 475.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.1005, allocations: 47.91 kB / 475.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1005, allocations: 7.875 kB / 475.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1006, allocations: 0 / 475.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1006, allocations: 0 / 475.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.1008, allocations: 353.3 kB / 476 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1008, allocations: 0 / 476 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.1009, allocations: 0 / 476 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1009, allocations: 4 kB / 476 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.1009, allocations: 7.984 kB / 476.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1009, allocations: 3.938 kB / 476.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1009, allocations: 4 kB / 476.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/0.1016, allocations: 0.537 MB / 476.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.1018, allocations: 152.5 kB / 476.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.1019, allocations: 20 kB / 476.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.1021, allocations: 39.95 kB / 476.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/0.1022, allocations: 23.97 kB / 476.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.1023, allocations: 15.98 kB / 476.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004082/0.1027, allocations: 411.1 kB / 477.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1027, allocations: 0 / 477.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.103, allocations: 83.94 kB / 477.3 MB, free: 6.262 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.001035/0.104, allocations: 1.122 MB / 478.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005445/0.1046, allocations: 474.5 kB / 478.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1046, allocations: 0 / 478.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.105, allocations: 454.7 kB / 479.4 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.1053, allocations: 41.2 kB / 479.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/0.1103, allocations: 4.893 MB / 484.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1107, allocations: 0.8072 MB / 485.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.877e-05/0.1108, allocations: 41.92 kB / 485.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.1109, allocations: 119.4 kB / 485.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1109, allocations: 0 / 485.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.137, allocations: 8.245 MB / 493.5 MB, free: 5.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.737, allocations: 11.94 kB / 493.5 MB, free: 5.949 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)