Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.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.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",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.001714/0.001714, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.809/1.809, allocations: 221.5 MB / 230 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009584/0.0009584, allocations: 101.7 kB / 280.9 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04228/0.04228, allocations: 8.11 MB / 339.8 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.062e-05, allocations: 2.25 kB / 398.6 MB, free: 49.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1276, allocations: 52.53 MB / 451.1 MB, free: 5.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.2363, allocations: 78.71 MB / 0.5174 GB, free: 6.488 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.2366, allocations: 63.97 kB / 0.5174 GB, free: 6.426 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01465/0.2513, allocations: 5.754 MB / 0.5231 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2513, allocations: 0 / 0.5231 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.2513, allocations: 7.938 kB / 0.5231 GB, free: 0.5977 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001044/0.2524, allocations: 0.4996 MB / 0.5235 GB, free: 56 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2524, allocations: 11.98 kB / 0.5236 GB, free: 44 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.2525, allocations: 19.81 kB / 0.5236 GB, free: 24 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2251/0.4776, allocations: 205.6 kB / 0.5238 GB, free: 78.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.4776, allocations: 4.25 kB / 0.5238 GB, free: 78.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.4777, allocations: 7.281 kB / 0.5238 GB, free: 78.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002481/0.4779, allocations: 102.3 kB / 0.5239 GB, free: 78.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.4782, allocations: 163.2 kB / 0.524 GB, free: 78.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4782, allocations: 0.8594 kB / 0.524 GB, free: 78.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.4783, allocations: 0 / 0.524 GB, free: 78.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.4783, allocations: 3.281 kB / 0.524 GB, free: 78.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009882/0.4793, allocations: 0.5209 MB / 0.5246 GB, free: 78.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008041/0.4801, allocations: 152.6 kB / 0.5247 GB, free: 78.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.179e-05/0.4802, allocations: 37.52 kB / 0.5247 GB, free: 78.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.4804, allocations: 86.17 kB / 0.5248 GB, free: 78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4804, allocations: 32.25 kB / 0.5248 GB, free: 77.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.023e-06/0.4804, allocations: 3.469 kB / 0.5248 GB, free: 77.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006991/0.4811, allocations: 171 kB / 0.525 GB, free: 77.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.4812, allocations: 82.41 kB / 0.5251 GB, free: 77.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.4813, allocations: 122 kB / 0.5252 GB, free: 77.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.4813, allocations: 25.7 kB / 0.5252 GB, free: 77.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.4814, allocations: 133.2 kB / 0.5254 GB, free: 77.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.4814, allocations: 28.88 kB / 0.5254 GB, free: 77.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.4814, allocations: 0 / 0.5254 GB, free: 77.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.4815, allocations: 324.6 kB / 0.5257 GB, free: 77.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.4816, allocations: 25.44 kB / 0.5257 GB, free: 77.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.4817, allocations: 53.84 kB / 0.5258 GB, free: 77.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.4818, allocations: 42.41 kB / 0.5258 GB, free: 77.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4818, allocations: 0 / 0.5258 GB, free: 77.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005644/0.4824, allocations: 175.9 kB / 0.526 GB, free: 77.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4824, allocations: 7.469 kB / 0.526 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4824, allocations: 0 / 0.526 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004901/0.4829, allocations: 80.25 kB / 0.5261 GB, free: 77.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.389e-05/0.483, allocations: 20.02 kB / 0.5261 GB, free: 77.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.4845, allocations: 1.395 MB / 0.5274 GB, free: 75.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.4846, allocations: 12.19 kB / 0.5275 GB, free: 75.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.4846, allocations: 7.141 kB / 0.5275 GB, free: 75.99 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.4847, allocations: 109.4 kB / 0.5276 GB, free: 75.88 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005559/0.4853, allocations: 168 kB / 0.5277 GB, free: 75.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.4853, allocations: 12.67 kB / 0.5277 GB, free: 75.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006393/0.486, allocations: 214.2 kB / 0.5279 GB, free: 75.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.486, allocations: 1.031 kB / 0.5279 GB, free: 75.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.486, allocations: 1 kB / 0.5279 GB, free: 75.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.486, allocations: 3.328 kB / 0.5279 GB, free: 75.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.4863, allocations: 205.2 kB / 0.5281 GB, free: 75.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4863, allocations: 8.172 kB / 0.5282 GB, free: 75.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-05/0.4864, allocations: 23.48 kB / 0.5282 GB, free: 75.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003679/0.4867, allocations: 70.17 kB / 0.5282 GB, free: 75.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.4868, allocations: 4.797 kB / 0.5282 GB, free: 75.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.4879, allocations: 1.391 MB / 0.5296 GB, free: 74.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4879, allocations: 0 / 0.5296 GB, free: 74.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.4885, allocations: 280 kB / 0.5299 GB, free: 74.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.4886, allocations: 83.86 kB / 0.53 GB, free: 74.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.4886, allocations: 4.094 kB / 0.53 GB, free: 74.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.4887, allocations: 8.875 kB / 0.53 GB, free: 74.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.4888, allocations: 12.81 kB / 0.53 GB, free: 74.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.4888, allocations: 0.8125 kB / 0.53 GB, free: 74.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.197e-05/0.4888, allocations: 100.2 kB / 0.5301 GB, free: 74.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4888, allocations: 0 / 0.5301 GB, free: 74.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003348/0.4892, allocations: 43.25 kB / 0.5301 GB, free: 74.08 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009194/0.4901, allocations: 0.821 MB / 0.5309 GB, free: 73.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000733/0.4909, allocations: 217.2 kB / 0.5311 GB, free: 73.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4909, allocations: 0 / 0.5311 GB, free: 73.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.4913, allocations: 189.4 kB / 0.5313 GB, free: 73.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.4915, allocations: 7.219 kB / 0.5313 GB, free: 73.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.492, allocations: 190.9 kB / 0.5315 GB, free: 73.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.4922, allocations: 0.714 MB / 0.5322 GB, free: 72.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.025e-05/0.4923, allocations: 16.58 kB / 0.5322 GB, free: 72.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.4924, allocations: 42.75 kB / 0.5322 GB, free: 72.34 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4924, allocations: 2.062 kB / 0.5322 GB, free: 72.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.517, allocations: 2.596 MB / 0.5348 GB, free: 72.21 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/0.5172, allocations: 119.2 kB / 0.5349 GB, free: 72.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.058, allocations: 3.938 kB / 0.5349 GB, free: 72.02 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneperfectTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1)