Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",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.0007182/0.0007182, allocations: 96.62 kB / 15.74 MB, free: 424 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.0008008/0.0008008, allocations: 168.2 kB / 16.62 MB, free: 6.43 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.244/1.244, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1536/0.1536, allocations: 8.091 MB / 299.8 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 8 kB / 362.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0826/0.08291, allocations: 52.52 MB / 415.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.001159/0.08411, allocations: 0.8942 MB / 416.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.08559, allocations: 1.412 MB / 417.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.08566, allocations: 4 kB / 417.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.08587, allocations: 79.67 kB / 417.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.08607, allocations: 87.5 kB / 417.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.08735, allocations: 0.8099 MB / 418.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.08755, allocations: 147.2 kB / 418.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.08766, allocations: 49.62 kB / 418.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.08773, allocations: 55.78 kB / 419 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.08787, allocations: 79.67 kB / 419.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.08789, allocations: 8 kB / 419.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.08822, allocations: 211.7 kB / 419.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.08826, allocations: 23.91 kB / 419.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.0883, allocations: 57.58 kB / 419.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.08856, allocations: 223.7 kB / 419.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.08857, allocations: 4 kB / 419.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.08858, allocations: 0 / 419.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.08859, allocations: 0 / 419.6 MB, free: 4.457 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001841/0.09044, allocations: 0.7056 MB / 420.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.09048, allocations: 8.031 kB / 420.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.09053, allocations: 46.55 kB / 420.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.09058, allocations: 23.7 kB / 420.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.09083, allocations: 225.2 kB / 420.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.09085, allocations: 12.23 kB / 420.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.09088, allocations: 12 kB / 420.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.09119, allocations: 193.4 kB / 420.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.09121, allocations: 0 / 420.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.09123, allocations: 8 kB / 420.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.09124, allocations: 4 kB / 420.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.09148, allocations: 164.6 kB / 421 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.09248, allocations: 0.7301 MB / 421.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.09292, allocations: 194.5 kB / 421.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.09306, allocations: 99.64 kB / 422 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.09312, allocations: 7.938 kB / 422 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.09315, allocations: 34.56 kB / 422 MB, free: 1.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.455e-06/0.09316, allocations: 3.984 kB / 422 MB, free: 1.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001687/0.09485, allocations: 0.5852 MB / 422.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.0949, allocations: 85.11 kB / 422.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.09507, allocations: 178.6 kB / 422.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.09511, allocations: 29.7 kB / 422.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.09517, allocations: 120.3 kB / 423 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.09522, allocations: 47.2 kB / 423.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/0.09524, allocations: 8 kB / 423.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.09533, allocations: 326.8 kB / 423.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.09548, allocations: 99.95 kB / 423.5 MB, free: 272 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.09564, allocations: 133.5 kB / 423.6 MB, free: 132 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.09581, allocations: 111.9 kB / 423.7 MB, free: 20 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.09582, allocations: 0 / 423.7 MB, free: 20 kB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.1572/0.253, allocations: 415.9 kB / 424.1 MB, free: 40.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.253, allocations: 5.812 kB / 424.2 MB, free: 40.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2531, allocations: 3.906 kB / 424.2 MB, free: 40.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008943/0.254, allocations: 199.8 kB / 424.4 MB, free: 40.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.2541, allocations: 44.44 kB / 424.4 MB, free: 40.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.2562, allocations: 1.82 MB / 426.2 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.2563, allocations: 17.48 kB / 426.2 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2564, allocations: 11.53 kB / 426.2 MB, free: 39.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 21 * 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: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 8.938e-05/0.2565, allocations: 131.2 kB / 426.4 MB, free: 39.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.2565, allocations: 21.3 kB / 426.4 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008931/0.2574, allocations: 386.3 kB / 426.8 MB, free: 39.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2574, allocations: 3.953 kB / 426.8 MB, free: 39.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.2574, allocations: 0 / 426.8 MB, free: 39.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2574, allocations: 7.406 kB / 426.8 MB, free: 39.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.2577, allocations: 301.7 kB / 427.1 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2577, allocations: 0 / 427.1 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.2578, allocations: 25.05 kB / 427.1 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008154/0.2586, allocations: 203.9 kB / 427.3 MB, free: 39.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.2586, allocations: 7.25 kB / 427.3 MB, free: 39.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.2603, allocations: 1.798 MB / 429.1 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2603, allocations: 0.5625 kB / 429.1 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007983/0.2611, allocations: 448.4 kB / 429.5 MB, free: 37.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.2611, allocations: 98.2 kB / 429.6 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.2612, allocations: 5.406 kB / 429.6 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.2613, allocations: 18.8 kB / 429.7 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.2614, allocations: 12.06 kB / 429.7 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2614, allocations: 9.453 kB / 429.7 MB, free: 37.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.089e-05/0.2615, allocations: 132.9 kB / 429.8 MB, free: 37.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2615, allocations: 0 / 429.8 MB, free: 37.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.2618, allocations: 63.38 kB / 429.9 MB, free: 37.67 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 (15): * Single equations (assignments): 14 * 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: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009933/0.2628, allocations: 1.004 MB / 430.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000804/0.2636, allocations: 422.3 kB / 431.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2637, allocations: 3.344 kB / 431.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004637/0.2641, allocations: 270.5 kB / 431.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.2644, allocations: 16.03 kB / 431.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.2662, allocations: 1.293 MB / 432.9 MB, free: 36.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.2663, allocations: 0.7217 MB / 433.6 MB, free: 35.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.388e-05/0.2664, allocations: 21.73 kB / 433.6 MB, free: 35.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.2665, allocations: 46.78 kB / 433.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2665, allocations: 0 / 433.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.2812, allocations: 5.526 MB / 439.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001143/0.2814, allocations: 220.3 kB / 439.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/1.902, allocations: 0 / 439.4 MB, free: 34.9 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) Environment - environmentSimulation: