Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneTransfo.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.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",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.00109/0.00109, allocations: 95.34 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.001102/0.001102, allocations: 181.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.272/1.272, allocations: 223.2 MB / 240.5 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1572/0.1572, allocations: 8.086 MB / 299.7 MB, free: 2.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002957, allocations: 8 kB / 362.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.09605, allocations: 52.51 MB / 415.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.001319/0.09741, allocations: 0.9199 MB / 416.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.09886, allocations: 1.31 MB / 417.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.09893, allocations: 4 kB / 417.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.09918, allocations: 79.59 kB / 417.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.09936, allocations: 79.73 kB / 417.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.1005, allocations: 0.7007 MB / 418.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.1007, allocations: 107.7 kB / 418.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1009, allocations: 49.5 kB / 418.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.1009, allocations: 51.78 kB / 418.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.02e-05/0.101, allocations: 55.77 kB / 418.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.101, allocations: 8 kB / 418.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.1013, allocations: 175.8 kB / 418.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.1014, allocations: 23.91 kB / 418.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.1014, allocations: 49.64 kB / 419 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.1017, allocations: 203.8 kB / 419.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1017, allocations: 4 kB / 419.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1017, allocations: 4 kB / 419.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1017, allocations: 0 / 419.2 MB, free: 4.836 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.001705/0.1034, allocations: 0.6315 MB / 419.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1035, allocations: 8.031 kB / 419.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.461e-05/0.1035, allocations: 50.5 kB / 419.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.1036, allocations: 19.81 kB / 419.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.1038, allocations: 206.8 kB / 420.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1038, allocations: 19.98 kB / 420.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1038, allocations: 12 kB / 420.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.1041, allocations: 167.3 kB / 420.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1041, allocations: 4 kB / 420.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.1042, allocations: 7.938 kB / 420.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1042, allocations: 7.953 kB / 420.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.1044, allocations: 115.9 kB / 420.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008917/0.1053, allocations: 0.5392 MB / 420.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/0.1061, allocations: 166.5 kB / 421.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.1062, allocations: 85.09 kB / 421.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1063, allocations: 34.56 kB / 421.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1063, allocations: 0 / 421.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00118/0.1074, allocations: 347.4 kB / 421.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.1075, allocations: 77.11 kB / 421.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1076, allocations: 143.9 kB / 421.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.1077, allocations: 33.7 kB / 421.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.1078, allocations: 135.9 kB / 421.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1078, allocations: 27.56 kB / 422 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.1078, allocations: 0 / 422 MB, free: 1.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1079, allocations: 322.8 kB / 422.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.108, allocations: 47.92 kB / 422.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1081, allocations: 77.64 kB / 422.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.1082, allocations: 56.03 kB / 422.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1082, allocations: 4 kB / 422.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005486/0.1088, allocations: 222.2 kB / 422.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1088, allocations: 4 kB / 422.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1088, allocations: 0 / 422.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004948/0.1093, allocations: 88.8 kB / 422.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1095, allocations: 23.98 kB / 422.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1665/0.276, allocations: 1.439 MB / 424.2 MB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.2762, allocations: 22.97 kB / 424.3 MB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.2762, allocations: 5.031 kB / 424.3 MB, free: 39.88 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 0.0001213/0.2764, allocations: 133.8 kB / 424.4 MB, free: 39.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.2764, allocations: 7.656 kB / 424.4 MB, free: 39.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005847/0.277, allocations: 207.4 kB / 424.6 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.277, allocations: 4.281 kB / 424.6 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.277, allocations: 3.953 kB / 424.6 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.277, allocations: 2.531 kB / 424.6 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.2772, allocations: 231.7 kB / 424.8 MB, free: 39.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2773, allocations: 3.156 kB / 424.8 MB, free: 39.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-05/0.2773, allocations: 15.8 kB / 424.9 MB, free: 39.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/0.2778, allocations: 85.41 kB / 424.9 MB, free: 39.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.2778, allocations: 9.641 kB / 425 MB, free: 39.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.279, allocations: 1.435 MB / 426.4 MB, free: 38.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.279, allocations: 5.172 kB / 426.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.2795, allocations: 288.2 kB / 426.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.2795, allocations: 86.23 kB / 426.8 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2795, allocations: 4.391 kB / 426.8 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2797, allocations: 12.89 kB / 426.8 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.2797, allocations: 10.5 kB / 426.8 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.2797, allocations: 2.281 kB / 426.8 MB, free: 38.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.572e-05/0.2798, allocations: 104.7 kB / 426.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2798, allocations: 0 / 426.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.2801, allocations: 49.72 kB / 426.9 MB, free: 37.96 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.0006757/0.2808, allocations: 0.8315 MB / 427.8 MB, free: 37.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006549/0.2815, allocations: 259.7 kB / 428 MB, free: 37.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2815, allocations: 0 / 428 MB, free: 37.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.2819, allocations: 195.8 kB / 428.2 MB, free: 37.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.2821, allocations: 5.688 kB / 428.2 MB, free: 37.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.2828, allocations: 0.7148 MB / 428.9 MB, free: 36.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.2829, allocations: 0.7157 MB / 429.7 MB, free: 35.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.17e-05/0.283, allocations: 14.12 kB / 429.7 MB, free: 35.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.2831, allocations: 46.27 kB / 429.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2831, allocations: 1.312 kB / 429.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.2953, allocations: 3.214 MB / 432.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001153/0.2955, allocations: 175.4 kB / 433.1 MB, free: 35.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.89, allocations: 0 / 433.1 MB, free: 35.31 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1) Environment - environmentSimulation: