Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",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.004245/0.004245, allocations: 92.84 kB / 15.91 MB, free: 6.285 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.001054/0.001054, allocations: 194.9 kB / 16.84 MB, free: 6.199 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.237/1.237, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1378/0.1378, allocations: 8.087 MB / 298.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 59.91 kB / 361.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07334/0.07446, allocations: 51.52 MB / 412.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002788/0.07728, allocations: 2.333 MB / 415 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.07898, allocations: 1.668 MB / 416.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.901e-05/0.07907, allocations: 4 kB / 416.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.0794, allocations: 135.4 kB / 416.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.07974, allocations: 183 kB / 417 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.08151, allocations: 1.195 MB / 418.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.0819, allocations: 394 kB / 418.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.08208, allocations: 108.1 kB / 418.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.08223, allocations: 163.4 kB / 418.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.08246, allocations: 195.1 kB / 419 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.08252, allocations: 24 kB / 419 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.0829, allocations: 259.7 kB / 419.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.08297, allocations: 75.61 kB / 419.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.08313, allocations: 187 kB / 419.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.08368, allocations: 0.5647 MB / 420.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.0837, allocations: 0 / 420.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.0837, allocations: 0 / 420.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.08372, allocations: 4 kB / 420.1 MB, free: 2.562 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004674/0.0884, allocations: 1.361 MB / 421.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.08844, allocations: 15.97 kB / 421.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.973e-05/0.08852, allocations: 62.72 kB / 421.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.056e-05/0.08861, allocations: 44.47 kB / 421.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.08896, allocations: 323.5 kB / 421.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.08899, allocations: 28.94 kB / 421.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.08905, allocations: 32.38 kB / 422 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/0.08972, allocations: 473 kB / 422.4 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.08973, allocations: 7.875 kB / 422.4 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.08978, allocations: 12 kB / 422.4 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.08979, allocations: 4 kB / 422.5 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/0.09038, allocations: 422.2 kB / 422.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.09274, allocations: 2.017 MB / 424.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000831/0.09358, allocations: 0.514 MB / 425.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.09396, allocations: 284.8 kB / 425.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.506e-05/0.09403, allocations: 15.98 kB / 425.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.09407, allocations: 38.56 kB / 425.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.462e-06/0.09407, allocations: 0 / 425.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.006731/0.1008, allocations: 1.92 MB / 427.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1009, allocations: 106.8 kB / 427.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.1011, allocations: 282.8 kB / 428 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.1012, allocations: 33.7 kB / 428.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.1013, allocations: 164.8 kB / 428.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.1014, allocations: 149.8 kB / 428.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.1016, allocations: 114.2 kB / 428.5 MB, free: 9.754 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1017, allocations: 342.7 kB / 428.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.1021, allocations: 297 kB / 429.1 MB, free: 9.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.1026, allocations: 348.6 kB / 429.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008996/0.1035, allocations: 0.649 MB / 430.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1035, allocations: 0 / 430.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003421/0.1069, allocations: 1.256 MB / 431.3 MB, free: 6.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.107, allocations: 11.94 kB / 431.4 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.107, allocations: 0 / 431.4 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003536/0.1105, allocations: 0.7756 MB / 432.1 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.1109, allocations: 91.81 kB / 432.2 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006688/0.1176, allocations: 3.817 MB / 436 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.118, allocations: 59.45 kB / 436.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.118, allocations: 23.98 kB / 436.1 MB, free: 1.941 MB / 366.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 (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.1182, allocations: 161.7 kB / 436.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.1183, allocations: 39.52 kB / 436.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003335/0.1217, allocations: 1.21 MB / 437.5 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1217, allocations: 4 kB / 437.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1217, allocations: 0 / 437.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1217, allocations: 3.984 kB / 437.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1295/0.2512, allocations: 0.563 MB / 438.1 MB, free: 56.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.2513, allocations: 3.703 kB / 438.1 MB, free: 56.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.2515, allocations: 61.5 kB / 438.2 MB, free: 56.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003241/0.2548, allocations: 0.7469 MB / 438.9 MB, free: 56.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.2548, allocations: 11.84 kB / 438.9 MB, free: 56.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005262/0.2601, allocations: 3.773 MB / 442.7 MB, free: 55.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2601, allocations: 3.984 kB / 442.7 MB, free: 55.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.2629, allocations: 1.225 MB / 443.9 MB, free: 55.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.2629, allocations: 114.9 kB / 444 MB, free: 54.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.263, allocations: 6.906 kB / 444 MB, free: 54.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.2633, allocations: 30.03 kB / 444.1 MB, free: 54.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2634, allocations: 39.59 kB / 444.1 MB, free: 54.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.2634, allocations: 20.19 kB / 444.1 MB, free: 54.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.2636, allocations: 192.6 kB / 444.3 MB, free: 54.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2636, allocations: 0 / 444.3 MB, free: 54.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004877/0.2641, allocations: 177.2 kB / 444.5 MB, free: 54.77 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 (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003006/0.2671, allocations: 1.791 MB / 446.3 MB, free: 53.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001986/0.2691, allocations: 1.03 MB / 447.3 MB, free: 53.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2691, allocations: 0 / 447.3 MB, free: 53.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.2706, allocations: 0.6699 MB / 448 MB, free: 52.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.2709, allocations: 45.31 kB / 448 MB, free: 52.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008141/0.2791, allocations: 5.334 MB / 453.4 MB, free: 50.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.2793, allocations: 0.7996 MB / 454.2 MB, free: 49.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.2794, allocations: 50.86 kB / 454.2 MB, free: 49.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.2796, allocations: 129.3 kB / 454.3 MB, free: 49.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2796, allocations: 0 / 454.3 MB, free: 49.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3393/0.6188, allocations: 14.29 MB / 468.6 MB, free: 48.15 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.619, allocations: 244.5 kB / 468.9 MB, free: 47.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.465, allocations: 0 / 468.9 MB, free: 47.9 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)