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.000727/0.0007271, allocations: 94.52 kB / 16.06 MB, free: 40 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.0007605/0.0007605, allocations: 182.1 kB / 16.96 MB, free: 6.871 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.268/1.268, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1681/0.1681, allocations: 8.078 MB / 300.2 MB, free: 2.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.000276, allocations: 8 kB / 363.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0874/0.08769, allocations: 52.52 MB / 416.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.001483/0.08922, allocations: 1.011 MB / 417.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.09096, allocations: 1.372 MB / 418.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.216e-05/0.09107, allocations: 7.938 kB / 418.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.09141, allocations: 91.66 kB / 418.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.09171, allocations: 79.64 kB / 418.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.09315, allocations: 0.8406 MB / 419.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.09338, allocations: 135.4 kB / 419.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.0935, allocations: 49.52 kB / 419.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.09357, allocations: 51.78 kB / 419.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.778e-05/0.09366, allocations: 59.7 kB / 419.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.09369, allocations: 8 kB / 419.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.09403, allocations: 199.8 kB / 420 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.09407, allocations: 23.91 kB / 420 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.416e-05/0.09415, allocations: 89.38 kB / 420.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.09454, allocations: 299.4 kB / 420.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.09455, allocations: 0 / 420.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09456, allocations: 0 / 420.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.09457, allocations: 4 kB / 420.4 MB, free: 3.961 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.09628, allocations: 0.6393 MB / 421 MB, free: 3.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.09632, allocations: 12.03 kB / 421.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.09638, allocations: 46.73 kB / 421.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.09643, allocations: 16.75 kB / 421.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.09661, allocations: 212.1 kB / 421.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.09664, allocations: 16.38 kB / 421.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.09667, allocations: 16.31 kB / 421.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.09695, allocations: 175.9 kB / 421.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.09697, allocations: 3.938 kB / 421.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.09699, allocations: 8 kB / 421.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.097, allocations: 0 / 421.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.09719, allocations: 112 kB / 421.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008248/0.09803, allocations: 0.5391 MB / 422.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008039/0.09884, allocations: 158.6 kB / 422.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.762e-05/0.09893, allocations: 44.8 kB / 422.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.09905, allocations: 89.09 kB / 422.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.09909, allocations: 34.69 kB / 422.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.534e-06/0.09909, allocations: 3.984 kB / 422.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001161/0.1003, allocations: 347.3 kB / 422.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.1003, allocations: 77.11 kB / 422.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.1004, allocations: 155 kB / 423.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1005, allocations: 25.7 kB / 423.1 MB, free: 1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.1005, allocations: 132 kB / 423.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.1006, allocations: 27.56 kB / 423.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1006, allocations: 21.7 kB / 423.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1007, allocations: 326.8 kB / 423.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.621e-05/0.1008, allocations: 47.98 kB / 423.6 MB, free: 448 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.583e-05/0.1009, allocations: 74.56 kB / 423.7 MB, free: 364 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.1011, allocations: 121.6 kB / 423.8 MB, free: 236 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1011, allocations: 0 / 423.8 MB, free: 236 kB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.1649/0.266, allocations: 230.9 kB / 424.1 MB, free: 41.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.2661, allocations: 2.281 kB / 424.1 MB, free: 41.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2661, allocations: 3.156 kB / 424.1 MB, free: 41.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/0.2667, allocations: 84.14 kB / 424.1 MB, free: 41.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.2669, allocations: 28.2 kB / 424.2 MB, free: 41.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.2683, allocations: 1.44 MB / 425.6 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.2684, allocations: 24.98 kB / 425.6 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2685, allocations: 4.672 kB / 425.6 MB, free: 40.1 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 (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.2686, allocations: 128.3 kB / 425.8 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.2686, allocations: 9.969 kB / 425.8 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.2692, allocations: 207.8 kB / 426 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2692, allocations: 0 / 426 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/0.2692, allocations: 0 / 426 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2692, allocations: 2.531 kB / 426 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.2694, allocations: 232.7 kB / 426.2 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2694, allocations: 3.719 kB / 426.2 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.77e-05/0.2695, allocations: 18.84 kB / 426.2 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.2699, allocations: 87.67 kB / 426.3 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.27, allocations: 3.938 kB / 426.3 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.2711, allocations: 1.441 MB / 427.8 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2711, allocations: 0.8125 kB / 427.8 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.2716, allocations: 282.2 kB / 428 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.2716, allocations: 85.86 kB / 428.1 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.2716, allocations: 3.031 kB / 428.1 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.2718, allocations: 8.188 kB / 428.1 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.2718, allocations: 10.39 kB / 428.1 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2718, allocations: 8.344 kB / 428.2 MB, free: 38.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.359e-05/0.2719, allocations: 102.2 kB / 428.3 MB, free: 38.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2719, allocations: 3.844 kB / 428.3 MB, free: 38.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.2722, allocations: 53.12 kB / 428.3 MB, free: 38.18 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 (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.000689/0.2729, allocations: 0.8237 MB / 429.1 MB, free: 37.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007045/0.2736, allocations: 257.1 kB / 429.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2736, allocations: 0 / 429.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004709/0.2741, allocations: 200.1 kB / 429.6 MB, free: 37.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.2743, allocations: 13.14 kB / 429.6 MB, free: 37.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.2764, allocations: 1.919 MB / 431.5 MB, free: 35.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2765, allocations: 0.7104 MB / 432.2 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.686e-05/0.2766, allocations: 14.27 kB / 432.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.2767, allocations: 37.67 kB / 432.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2767, allocations: 0 / 432.3 MB, free: 35.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3344/0.6111, allocations: 3.28 MB / 435.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.6113, allocations: 197.3 kB / 435.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.276, allocations: 0 / 435.7 MB, free: 34.76 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/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)