Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",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.0007812/0.0007812, allocations: 102.4 kB / 16.07 MB, free: 32 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.000799/0.000799, allocations: 181.7 kB / 16.96 MB, free: 6.879 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.284/1.284, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1611/0.1611, allocations: 8.08 MB / 300.2 MB, free: 2.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003124, allocations: 8 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08695, allocations: 52.52 MB / 416.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.00215/0.08913, allocations: 1.901 MB / 418 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.09151, allocations: 1.66 MB / 419.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.09173, allocations: 8 kB / 419.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.09213, allocations: 131.4 kB / 419.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005018/0.09264, allocations: 167 kB / 420 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.09428, allocations: 0.907 MB / 420.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005086/0.09479, allocations: 402 kB / 421.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.095, allocations: 116.1 kB / 421.4 MB, free: 3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.0952, allocations: 155.3 kB / 421.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.09549, allocations: 203.1 kB / 421.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.09555, allocations: 24 kB / 421.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.09594, allocations: 199.8 kB / 422 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.09601, allocations: 63.64 kB / 422 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.0962, allocations: 208.7 kB / 422.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.09687, allocations: 0.5177 MB / 422.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.09688, allocations: 0 / 422.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09689, allocations: 0 / 422.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.0969, allocations: 0 / 422.7 MB, free: 1.637 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003541/0.1004, allocations: 1.088 MB / 423.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1005, allocations: 8.031 kB / 423.8 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.985e-05/0.1006, allocations: 58.73 kB / 423.9 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.1007, allocations: 48.47 kB / 423.9 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.1012, allocations: 335.4 kB / 424.3 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1686/0.2698, allocations: 18.98 kB / 424.3 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.2699, allocations: 32.25 kB / 424.3 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/0.2706, allocations: 415.7 kB / 424.7 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2706, allocations: 2.062 kB / 424.7 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.2706, allocations: 15.97 kB / 424.7 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.2706, allocations: 9.562 kB / 424.7 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.2712, allocations: 406 kB / 425.1 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.273, allocations: 1.552 MB / 426.7 MB, free: 40.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000943/0.2739, allocations: 0.5552 MB / 427.2 MB, free: 40.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.2743, allocations: 282.3 kB / 427.5 MB, free: 40.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.906e-05/0.2743, allocations: 9.844 kB / 427.5 MB, free: 40.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.2744, allocations: 40.91 kB / 427.6 MB, free: 40.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.924e-06/0.2744, allocations: 3.281 kB / 427.6 MB, free: 40.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.004017/0.2784, allocations: 1.636 MB / 429.2 MB, free: 40.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.2784, allocations: 65.88 kB / 429.3 MB, free: 40.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.2787, allocations: 275.8 kB / 429.5 MB, free: 39.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.2787, allocations: 38.61 kB / 429.6 MB, free: 39.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.2788, allocations: 158.8 kB / 429.7 MB, free: 39.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.2789, allocations: 158 kB / 429.9 MB, free: 39.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.2789, allocations: 49.86 kB / 429.9 MB, free: 39.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.279, allocations: 340.4 kB / 430.3 MB, free: 39.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.2794, allocations: 261.7 kB / 430.5 MB, free: 39.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.2798, allocations: 279.3 kB / 430.8 MB, free: 39.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006682/0.2804, allocations: 0.5746 MB / 431.4 MB, free: 39.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2804, allocations: 0 / 431.4 MB, free: 39.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002091/0.2825, allocations: 1.022 MB / 432.4 MB, free: 39.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2826, allocations: 12.16 kB / 432.4 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2826, allocations: 3.938 kB / 432.4 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/0.2843, allocations: 431.2 kB / 432.8 MB, free: 38.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.2846, allocations: 71.56 kB / 432.9 MB, free: 38.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004992/0.2896, allocations: 5.663 MB / 438.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.2899, allocations: 37.59 kB / 438.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.29, allocations: 17.58 kB / 438.6 MB, free: 34.05 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.2902, allocations: 157.9 kB / 438.8 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.2902, allocations: 39.08 kB / 438.8 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.2924, allocations: 1.003 MB / 439.8 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2924, allocations: 6.594 kB / 439.8 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.2924, allocations: 0 / 439.8 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2924, allocations: 0.7969 kB / 439.8 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.2928, allocations: 0.5596 MB / 440.4 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2929, allocations: 3.25 kB / 440.4 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.293, allocations: 61.98 kB / 440.4 MB, free: 33.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/0.2946, allocations: 423.4 kB / 440.9 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.2946, allocations: 11.06 kB / 440.9 MB, free: 32.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0047/0.2993, allocations: 5.598 MB / 446.5 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2994, allocations: 0 / 446.5 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.3013, allocations: 1.018 MB / 447.5 MB, free: 27.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.3013, allocations: 117.3 kB / 447.6 MB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.3014, allocations: 12.22 kB / 447.6 MB, free: 27.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.3017, allocations: 33.97 kB / 447.6 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.3018, allocations: 43.84 kB / 447.7 MB, free: 27.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.3019, allocations: 20.75 kB / 447.7 MB, free: 27.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.3021, allocations: 193.7 kB / 447.9 MB, free: 27.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3021, allocations: 0 / 447.9 MB, free: 27.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005564/0.3026, allocations: 175.4 kB / 448.1 MB, free: 27.23 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00216/0.3048, allocations: 1.582 MB / 449.7 MB, free: 26.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.3064, allocations: 1.083 MB / 450.7 MB, free: 25.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3064, allocations: 0 / 450.7 MB, free: 25.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.3075, allocations: 0.7569 MB / 451.5 MB, free: 25.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.308, allocations: 50.02 kB / 451.5 MB, free: 24.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/0.3144, allocations: 4.878 MB / 456.4 MB, free: 22.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.3146, allocations: 0.7967 MB / 457.2 MB, free: 21.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.3148, allocations: 52.2 kB / 457.3 MB, free: 21.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.315, allocations: 113.4 kB / 457.4 MB, free: 21.32 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.315, allocations: 0 / 457.4 MB, free: 21.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.3417, allocations: 13.15 MB / 470.5 MB, free: 20.45 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.3419, allocations: 229.6 kB / 470.8 MB, free: 20.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.227, allocations: 1.969 kB / 470.8 MB, free: 20.19 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)