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-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.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.00494/0.00494, allocations: 89.31 kB / 15.91 MB, free: 6.305 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.001319/0.001319, allocations: 196 kB / 16.83 MB, free: 6.238 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.262/1.262, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1338/0.1338, allocations: 8.082 MB / 298.7 MB, free: 2.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.88 kB / 361.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08129, allocations: 51.52 MB / 412.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002352/0.08367, allocations: 1.369 MB / 414 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.08531, allocations: 1.395 MB / 415.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.0854, allocations: 0 / 415.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.08573, allocations: 95.66 kB / 415.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.08596, allocations: 71.67 kB / 415.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.0874, allocations: 0.8679 MB / 416.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.08759, allocations: 127.4 kB / 416.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.08772, allocations: 53.5 kB / 416.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.08779, allocations: 59.78 kB / 416.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.999e-05/0.08788, allocations: 67.69 kB / 416.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.08791, allocations: 12 kB / 416.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/0.08826, allocations: 207.8 kB / 417 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.0883, allocations: 23.91 kB / 417 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/0.08838, allocations: 63.67 kB / 417.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.08877, allocations: 315.4 kB / 417.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.08878, allocations: 0 / 417.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.08879, allocations: 0 / 417.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.0888, allocations: 0 / 417.4 MB, free: 5.352 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.001793/0.0906, allocations: 0.6628 MB / 418 MB, free: 4.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.09064, allocations: 8.031 kB / 418 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.09069, allocations: 46.73 kB / 418.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.09074, allocations: 16.75 kB / 418.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.09093, allocations: 213.6 kB / 418.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.09095, allocations: 12.38 kB / 418.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.09098, allocations: 12.38 kB / 418.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.09127, allocations: 175.9 kB / 418.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.09129, allocations: 3.938 kB / 418.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.09131, allocations: 8 kB / 418.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.09132, allocations: 4 kB / 418.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.09152, allocations: 112 kB / 418.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008339/0.09236, allocations: 0.5469 MB / 419.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/0.09323, allocations: 158.6 kB / 419.3 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.481e-05/0.09332, allocations: 48.97 kB / 419.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.09345, allocations: 85.05 kB / 419.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.09348, allocations: 34.5 kB / 419.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.09349, allocations: 0 / 419.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001223/0.09471, allocations: 355.2 kB / 419.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.09476, allocations: 77.11 kB / 419.9 MB, free: 2.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.09487, allocations: 143.4 kB / 420.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.09489, allocations: 25.7 kB / 420.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.09496, allocations: 132 kB / 420.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.09499, allocations: 31.55 kB / 420.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.09506, allocations: 37.7 kB / 420.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.09516, allocations: 318.8 kB / 420.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.254e-05/0.09526, allocations: 55.97 kB / 420.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.09537, allocations: 70.56 kB / 420.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.09557, allocations: 125.6 kB / 420.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.09559, allocations: 4 kB / 420.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005815/0.09617, allocations: 229.9 kB / 421.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.0962, allocations: 11.98 kB / 421.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.09621, allocations: 0 / 421.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/0.09672, allocations: 80.78 kB / 421.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.09686, allocations: 27.98 kB / 421.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.09834, allocations: 1.44 MB / 422.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.09848, allocations: 19.81 kB / 422.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.09851, allocations: 8 kB / 422.6 MB, free: 15.63 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.0001005/0.09861, allocations: 132.5 kB / 422.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.09866, allocations: 11.91 kB / 422.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005818/0.09925, allocations: 207 kB / 423 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.09926, allocations: 0 / 423 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.09927, allocations: 4 kB / 423 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.09928, allocations: 0 / 423 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.0995, allocations: 229.6 kB / 423.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.09951, allocations: 3.938 kB / 423.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.0996, allocations: 27.92 kB / 423.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/0.1, allocations: 80.78 kB / 423.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1001, allocations: 12.36 kB / 423.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.1015, allocations: 1.432 MB / 424.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1015, allocations: 4.031 kB / 424.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.102, allocations: 280 kB / 425 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.1021, allocations: 85.05 kB / 425.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1021, allocations: 15.98 kB / 425.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1023, allocations: 4 kB / 425.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.1023, allocations: 11.92 kB / 425.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1023, allocations: 4 kB / 425.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.061e-05/0.1024, allocations: 105.4 kB / 425.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1024, allocations: 0 / 425.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.1027, allocations: 51.84 kB / 425.3 MB, free: 12.71 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.0008103/0.1035, allocations: 0.8228 MB / 426.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007384/0.1042, allocations: 258.8 kB / 426.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1043, allocations: 0 / 426.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005205/0.1048, allocations: 198.7 kB / 426.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.105, allocations: 15.92 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.002315/0.1074, allocations: 1.899 MB / 428.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.1076, allocations: 0.7121 MB / 429.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.1076, allocations: 12.66 kB / 429.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.1077, allocations: 51.36 kB / 429.3 MB, free: 8.582 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1077, allocations: 0 / 429.3 MB, free: 8.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.1402, allocations: 3.353 MB / 432.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.1404, allocations: 193.9 kB / 432.8 MB, free: 5.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.761, allocations: 0 / 432.8 MB, free: 5.055 MB / 366.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/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)