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.004019/0.004019, allocations: 96.91 kB / 15.92 MB, free: 6.277 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.00105/0.00105, allocations: 196.6 kB / 16.84 MB, free: 6.191 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.25/1.25, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1313/0.1313, allocations: 8.087 MB / 298.7 MB, free: 2.055 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.89 kB / 361.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07896/0.08014, allocations: 51.52 MB / 412.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002469/0.08265, allocations: 1.369 MB / 414 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.08431, allocations: 1.395 MB / 415.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.08442, allocations: 4 kB / 415.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.08478, allocations: 91.66 kB / 415.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.08501, allocations: 71.67 kB / 415.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.08633, allocations: 0.8678 MB / 416.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.08652, allocations: 135.4 kB / 416.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.08665, allocations: 53.5 kB / 416.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-05/0.08671, allocations: 55.8 kB / 416.7 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.0868, allocations: 67.69 kB / 416.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.08683, allocations: 8 kB / 416.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.08715, allocations: 207.8 kB / 417 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.08718, allocations: 27.91 kB / 417 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.41e-05/0.08725, allocations: 71.61 kB / 417.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.08761, allocations: 303.5 kB / 417.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.08762, allocations: 0 / 417.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.08763, allocations: 0 / 417.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.08764, allocations: 3.938 kB / 417.4 MB, free: 5.363 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.001724/0.08937, allocations: 0.6628 MB / 418 MB, free: 4.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.08941, allocations: 12.03 kB / 418 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.08946, allocations: 46.73 kB / 418.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.08951, allocations: 16.75 kB / 418.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.08969, allocations: 204.1 kB / 418.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.08971, allocations: 16.31 kB / 418.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.08975, allocations: 16.38 kB / 418.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.09003, allocations: 175.9 kB / 418.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.09005, allocations: 3.938 kB / 418.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.09007, allocations: 4 kB / 418.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.09008, allocations: 4 kB / 418.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.09027, allocations: 116 kB / 418.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.09109, allocations: 0.5469 MB / 419.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/0.09196, allocations: 158.6 kB / 419.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.907e-05/0.09205, allocations: 44.78 kB / 419.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.09217, allocations: 81.11 kB / 419.5 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.0922, allocations: 42.62 kB / 419.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.09221, allocations: 0 / 419.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00121/0.09343, allocations: 347.2 kB / 419.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.09348, allocations: 85.11 kB / 419.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.382e-05/0.09358, allocations: 139.2 kB / 420.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.09361, allocations: 29.7 kB / 420.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.09368, allocations: 128 kB / 420.2 MB, free: 2.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.09371, allocations: 35.53 kB / 420.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.09378, allocations: 33.7 kB / 420.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.09387, allocations: 322.8 kB / 420.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.09397, allocations: 55.97 kB / 420.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.09408, allocations: 76.33 kB / 420.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.09429, allocations: 125.6 kB / 420.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0943, allocations: 0 / 420.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005861/0.09489, allocations: 226.3 kB / 421.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.09491, allocations: 7.984 kB / 421.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.09492, allocations: 0 / 421.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/0.09544, allocations: 80.78 kB / 421.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.09557, allocations: 27.98 kB / 421.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.09704, allocations: 1.444 MB / 422.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.09718, allocations: 15.88 kB / 422.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.0972, allocations: 8 kB / 422.6 MB, free: 15.64 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.0001025/0.09731, allocations: 125.8 kB / 422.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.09736, allocations: 15.98 kB / 422.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.09794, allocations: 211 kB / 423 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.09795, allocations: 0 / 423 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.09796, allocations: 0 / 423 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.09797, allocations: 0 / 423 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.09818, allocations: 233.5 kB / 423.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.09819, allocations: 0 / 423.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.09828, allocations: 23.86 kB / 423.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/0.09874, allocations: 84.78 kB / 423.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.09877, allocations: 7.984 kB / 423.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.1001, allocations: 1.437 MB / 424.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1001, allocations: 0 / 424.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.1007, allocations: 276.1 kB / 425 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.1007, allocations: 85.02 kB / 425.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1008, allocations: 16.02 kB / 425.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.1009, allocations: 8 kB / 425.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.1009, allocations: 7.984 kB / 425.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.101, allocations: 8 kB / 425.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.994e-05/0.101, allocations: 108.9 kB / 425.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.101, allocations: 0 / 425.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.1013, allocations: 51.84 kB / 425.3 MB, free: 12.73 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.0007904/0.1021, allocations: 0.8224 MB / 426.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007343/0.1029, allocations: 262.8 kB / 426.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1029, allocations: 0 / 426.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.1034, allocations: 195 kB / 426.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1036, allocations: 20.14 kB / 426.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.1061, allocations: 1.901 MB / 428.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.1063, allocations: 0.7082 MB / 429.2 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.415e-05/0.1064, allocations: 16.64 kB / 429.2 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.1065, allocations: 43.42 kB / 429.3 MB, free: 8.598 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1065, allocations: 0 / 429.3 MB, free: 8.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.1358, allocations: 3.366 MB / 432.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.136, allocations: 205.7 kB / 432.8 MB, free: 5.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/1.771, allocations: 0 / 432.8 MB, free: 5.059 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)