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-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.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.001056/0.001056, allocations: 109.7 kB / 16.03 MB, free: 5.879 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.001027/0.001028, allocations: 195.2 kB / 16.95 MB, free: 5.727 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.306/1.306, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1445/0.1445, allocations: 8.085 MB / 298.9 MB, free: 1.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 55.91 kB / 361.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09238, allocations: 51.52 MB / 412.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002478/0.09492, allocations: 1.357 MB / 414.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.09659, allocations: 1.388 MB / 415.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.09667, allocations: 0 / 415.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.09701, allocations: 103.7 kB / 415.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.09726, allocations: 67.59 kB / 415.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.09865, allocations: 0.8328 MB / 416.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.09887, allocations: 131.4 kB / 416.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.099, allocations: 65.92 kB / 416.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.09907, allocations: 63.72 kB / 416.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.09916, allocations: 67.7 kB / 416.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.09919, allocations: 12 kB / 416.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.09952, allocations: 211.8 kB / 417.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.484e-05/0.09957, allocations: 31.91 kB / 417.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.09964, allocations: 75.55 kB / 417.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.1, allocations: 303.5 kB / 417.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1, allocations: 0 / 417.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1, allocations: 0 / 417.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1, allocations: 0 / 417.5 MB, free: 5.242 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.001802/0.1018, allocations: 0.6667 MB / 418.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1019, allocations: 8.031 kB / 418.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.1019, allocations: 50.73 kB / 418.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.1021, allocations: 16.75 kB / 418.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1023, allocations: 212.1 kB / 418.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1023, allocations: 12.38 kB / 418.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1023, allocations: 12.38 kB / 418.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.1026, allocations: 183.8 kB / 418.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1026, allocations: 3.938 kB / 418.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.1027, allocations: 4 kB / 418.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1027, allocations: 4 kB / 418.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1029, allocations: 112 kB / 418.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008602/0.1037, allocations: 0.5392 MB / 419.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008811/0.1046, allocations: 170.5 kB / 419.5 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.1047, allocations: 36.8 kB / 419.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.1048, allocations: 89.09 kB / 419.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.1049, allocations: 34.56 kB / 419.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1049, allocations: 0 / 419.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001294/0.1062, allocations: 343.7 kB / 420 MB, free: 2.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.1063, allocations: 85.05 kB / 420.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1064, allocations: 147.9 kB / 420.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1064, allocations: 29.8 kB / 420.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.1065, allocations: 136 kB / 420.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.1066, allocations: 27.56 kB / 420.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.1066, allocations: 33.7 kB / 420.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1068, allocations: 326.8 kB / 420.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.1069, allocations: 47.98 kB / 420.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.107, allocations: 77.08 kB / 420.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.1072, allocations: 133.6 kB / 421 MB, free: 1.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1072, allocations: 0 / 421 MB, free: 1.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005975/0.1079, allocations: 218.2 kB / 421.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1079, allocations: 4 kB / 421.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.1079, allocations: 4.062 kB / 421.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005561/0.1085, allocations: 88.7 kB / 421.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1086, allocations: 27.92 kB / 421.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.1103, allocations: 1.539 MB / 422.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1104, allocations: 19.88 kB / 422.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.1104, allocations: 4 kB / 422.9 MB, free: 15.41 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.1106, allocations: 129.9 kB / 423 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.1106, allocations: 11.84 kB / 423.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006061/0.1112, allocations: 207 kB / 423.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1113, allocations: 0 / 423.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1113, allocations: 4 kB / 423.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1113, allocations: 0 / 423.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.1115, allocations: 237.5 kB / 423.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1115, allocations: 3.984 kB / 423.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.1116, allocations: 23.98 kB / 423.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/0.1121, allocations: 80.77 kB / 423.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1121, allocations: 8 kB / 423.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.1136, allocations: 1.539 MB / 425.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1137, allocations: 3.938 kB / 425.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.1142, allocations: 276.3 kB / 425.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1143, allocations: 88.95 kB / 425.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1143, allocations: 4 kB / 425.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.1144, allocations: 4.219 kB / 425.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.1145, allocations: 7.984 kB / 425.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1145, allocations: 12 kB / 425.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.442e-05/0.1146, allocations: 99.27 kB / 425.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1146, allocations: 0 / 425.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.1149, allocations: 51.84 kB / 425.7 MB, free: 12.39 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008907/0.1158, allocations: 0.8262 MB / 426.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007754/0.1166, allocations: 270.8 kB / 426.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1166, allocations: 3.938 kB / 426.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005472/0.1172, allocations: 202.7 kB / 427 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1174, allocations: 11.94 kB / 427 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.1199, allocations: 1.907 MB / 428.9 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.1202, allocations: 0.708 MB / 429.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.924e-05/0.1203, allocations: 16.64 kB / 429.6 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.1203, allocations: 39.42 kB / 429.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1203, allocations: 0 / 429.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.1403, allocations: 3.486 MB / 433.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.1405, allocations: 202.8 kB / 433.3 MB, free: 4.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.033, allocations: 4 kB / 433.3 MB, free: 4.605 MB / 366.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/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)