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/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/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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 96.75 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009112/0.0009113, allocations: 180.9 kB / 16.61 MB, free: 6.422 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.279/1.279, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1502/0.1502, allocations: 8.084 MB / 299.7 MB, free: 2.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 11.98 kB / 362.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.09108, allocations: 52.51 MB / 415.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.001334/0.09245, allocations: 0.918 MB / 416.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.09397, allocations: 1.31 MB / 417.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.09403, allocations: 4 kB / 417.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.09429, allocations: 83.58 kB / 417.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.09448, allocations: 75.75 kB / 417.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.09566, allocations: 0.7046 MB / 418.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.09585, allocations: 103.7 kB / 418.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.09597, allocations: 53.52 kB / 418.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.265e-05/0.09603, allocations: 47.78 kB / 418.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.09613, allocations: 55.77 kB / 418.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.09615, allocations: 8 kB / 418.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.09642, allocations: 171.8 kB / 418.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.09646, allocations: 27.91 kB / 418.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.0965, allocations: 45.64 kB / 419 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.09676, allocations: 207.8 kB / 419.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.09677, allocations: 0 / 419.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09678, allocations: 4 kB / 419.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.09679, allocations: 0 / 419.2 MB, free: 4.848 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00171/0.0985, allocations: 0.6354 MB / 419.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.09855, allocations: 8.031 kB / 419.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.09861, allocations: 50.5 kB / 419.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.09866, allocations: 19.81 kB / 419.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.09887, allocations: 216.8 kB / 420.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.0989, allocations: 8 kB / 420.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.09893, allocations: 16 kB / 420.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.09924, allocations: 171.3 kB / 420.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.09925, allocations: 3.938 kB / 420.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.09928, allocations: 8 kB / 420.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.09929, allocations: 3.953 kB / 420.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.09947, allocations: 115.9 kB / 420.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008514/0.1003, allocations: 0.5431 MB / 420.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007952/0.1011, allocations: 166.5 kB / 421.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.1013, allocations: 85.05 kB / 421.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1013, allocations: 30.56 kB / 421.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1013, allocations: 0 / 421.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001159/0.1025, allocations: 347.5 kB / 421.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.1025, allocations: 81.11 kB / 421.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1027, allocations: 141.7 kB / 421.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1027, allocations: 37.69 kB / 421.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.1028, allocations: 132 kB / 421.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.1028, allocations: 27.55 kB / 422 MB, free: 1.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/0.1028, allocations: 4 kB / 422 MB, free: 1.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.103, allocations: 318.8 kB / 422.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.1031, allocations: 51.97 kB / 422.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1032, allocations: 77.09 kB / 422.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.1033, allocations: 59.86 kB / 422.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1033, allocations: 0 / 422.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005427/0.1039, allocations: 214.3 kB / 422.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1039, allocations: 10.03 kB / 422.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1039, allocations: 3.984 kB / 422.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.1044, allocations: 84.84 kB / 422.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1045, allocations: 27.98 kB / 422.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1599/0.2644, allocations: 1.444 MB / 424.2 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.2646, allocations: 13.08 kB / 424.3 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.2647, allocations: 6.953 kB / 424.3 MB, free: 40.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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 9.901e-05/0.2648, allocations: 128.1 kB / 424.4 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.2648, allocations: 9.281 kB / 424.4 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005518/0.2654, allocations: 210.5 kB / 424.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2654, allocations: 2.75 kB / 424.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2654, allocations: 3.953 kB / 424.6 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2654, allocations: 3.938 kB / 424.6 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.2656, allocations: 233.2 kB / 424.8 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2656, allocations: 0 / 424.8 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-05/0.2657, allocations: 19.66 kB / 424.9 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004225/0.2661, allocations: 91.42 kB / 425 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2661, allocations: 3.938 kB / 425 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.2672, allocations: 1.448 MB / 426.4 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2673, allocations: 3.953 kB / 426.4 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.2677, allocations: 272.1 kB / 426.7 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.2678, allocations: 89.72 kB / 426.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.2678, allocations: 3.031 kB / 426.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.2679, allocations: 12.41 kB / 426.8 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.268, allocations: 7.141 kB / 426.8 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.268, allocations: 4.156 kB / 426.8 MB, free: 38.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.17e-05/0.268, allocations: 103.4 kB / 426.9 MB, free: 38.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.268, allocations: 1.031 kB / 426.9 MB, free: 38.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000309/0.2683, allocations: 59.94 kB / 426.9 MB, free: 38.36 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.0006513/0.269, allocations: 0.8202 MB / 427.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006646/0.2697, allocations: 261.7 kB / 428 MB, free: 37.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2697, allocations: 0 / 428 MB, free: 37.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004479/0.2701, allocations: 195.5 kB / 428.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.2703, allocations: 7.125 kB / 428.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006788/0.271, allocations: 0.7199 MB / 428.9 MB, free: 36.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.2711, allocations: 0.7155 MB / 429.7 MB, free: 36.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.21e-05/0.2712, allocations: 15.5 kB / 429.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.2712, allocations: 42.05 kB / 429.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2713, allocations: 0 / 429.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.2836, allocations: 3.227 MB / 432.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001203/0.2837, allocations: 182.2 kB / 433.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/1.803, allocations: 0 / 433.1 MB, free: 35.7 MB / 350.1 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) Environment - environmentSimulation: