Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",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.0008709/0.000871, allocations: 102.8 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.0009095/0.0009096, allocations: 181.4 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.283/1.283, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1466/0.1466, allocations: 8.084 MB / 300.2 MB, free: 2.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 8 kB / 363.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09593, allocations: 52.52 MB / 416.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.003021/0.099, allocations: 1.96 MB / 418.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.1022, allocations: 1.645 MB / 419.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.1025, allocations: 8 kB / 419.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005391/0.1031, allocations: 135.4 kB / 419.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007401/0.1038, allocations: 183 kB / 420 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.1066, allocations: 1.16 MB / 421.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006895/0.1073, allocations: 386 kB / 421.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.1076, allocations: 112.1 kB / 421.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.1078, allocations: 151.4 kB / 421.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.1082, allocations: 191.1 kB / 422 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.1082, allocations: 16 kB / 422 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006761/0.1089, allocations: 251.8 kB / 422.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.1091, allocations: 63.64 kB / 422.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.1095, allocations: 216.7 kB / 422.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008807/0.1103, allocations: 0.549 MB / 423.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1104, allocations: 11.88 kB / 423.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1104, allocations: 0 / 423.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1104, allocations: 0 / 423.1 MB, free: 1.234 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.2042/0.3146, allocations: 1.298 MB / 424.4 MB, free: 41.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3146, allocations: 11 kB / 424.4 MB, free: 41.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.3148, allocations: 64.16 kB / 424.5 MB, free: 41.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.315, allocations: 46.34 kB / 424.5 MB, free: 41.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.3155, allocations: 315.5 kB / 424.8 MB, free: 41.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.3155, allocations: 24.91 kB / 424.9 MB, free: 41.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.3156, allocations: 37.88 kB / 424.9 MB, free: 41.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007492/0.3164, allocations: 470.8 kB / 425.4 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3164, allocations: 5.109 kB / 425.4 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.3164, allocations: 17.22 kB / 425.4 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3164, allocations: 4.844 kB / 425.4 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.3171, allocations: 421.6 kB / 425.8 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.3193, allocations: 2.031 MB / 427.8 MB, free: 39.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.3202, allocations: 0.5184 MB / 428.3 MB, free: 39.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.3205, allocations: 284.7 kB / 428.6 MB, free: 39.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-05/0.3206, allocations: 9.734 kB / 428.6 MB, free: 39.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3206, allocations: 40.75 kB / 428.7 MB, free: 39.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.753e-06/0.3206, allocations: 0 / 428.7 MB, free: 39.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006389/0.327, allocations: 1.864 MB / 430.5 MB, free: 39.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3271, allocations: 109.3 kB / 430.6 MB, free: 39.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.3274, allocations: 274 kB / 430.9 MB, free: 39.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.3274, allocations: 41.3 kB / 430.9 MB, free: 39.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3276, allocations: 163.9 kB / 431.1 MB, free: 39.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3277, allocations: 147.3 kB / 431.2 MB, free: 39.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.3278, allocations: 56.81 kB / 431.3 MB, free: 39.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.3278, allocations: 340.2 kB / 431.6 MB, free: 38.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/0.3282, allocations: 295.9 kB / 431.9 MB, free: 38.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.3286, allocations: 349.6 kB / 432.3 MB, free: 38.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009064/0.3295, allocations: 0.6488 MB / 432.9 MB, free: 38.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3296, allocations: 0.6562 kB / 432.9 MB, free: 38.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003161/0.3327, allocations: 1.265 MB / 434.2 MB, free: 38.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3328, allocations: 18.28 kB / 434.2 MB, free: 38.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3328, allocations: 0 / 434.2 MB, free: 38.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/0.3361, allocations: 0.7849 MB / 435 MB, free: 38.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.3365, allocations: 93.02 kB / 435.1 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006257/0.3427, allocations: 3.826 MB / 438.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.3431, allocations: 48.47 kB / 438.9 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.3432, allocations: 21.08 kB / 439 MB, free: 35.5 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 (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.0001779/0.3434, allocations: 165.5 kB / 439.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-05/0.3435, allocations: 28.84 kB / 439.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003228/0.3467, allocations: 1.238 MB / 440.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3467, allocations: 7.438 kB / 440.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3467, allocations: 0 / 440.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3467, allocations: 0 / 440.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.3473, allocations: 0.5566 MB / 441 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3473, allocations: 0 / 441 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.3475, allocations: 66.16 kB / 441 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003283/0.3508, allocations: 0.7587 MB / 441.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.3508, allocations: 10.73 kB / 441.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005871/0.3567, allocations: 3.776 MB / 445.6 MB, free: 31.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3567, allocations: 0 / 445.6 MB, free: 31.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003176/0.3599, allocations: 1.246 MB / 446.8 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-05/0.36, allocations: 117.7 kB / 446.9 MB, free: 31.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.013e-05/0.3601, allocations: 8.5 kB / 446.9 MB, free: 31.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.3605, allocations: 31.16 kB / 447 MB, free: 31.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3606, allocations: 35.02 kB / 447 MB, free: 31.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.3607, allocations: 16.34 kB / 447 MB, free: 31.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.3608, allocations: 192.4 kB / 447.2 MB, free: 30.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3608, allocations: 3.125 kB / 447.2 MB, free: 30.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006498/0.3615, allocations: 176.4 kB / 447.4 MB, free: 30.94 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 (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.00339/0.3649, allocations: 1.812 MB / 449.2 MB, free: 29.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.3672, allocations: 1.023 MB / 450.2 MB, free: 29.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3672, allocations: 0 / 450.2 MB, free: 29.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.3688, allocations: 0.6668 MB / 450.9 MB, free: 29.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3692, allocations: 40.08 kB / 450.9 MB, free: 29.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00887/0.3781, allocations: 5.358 MB / 456.3 MB, free: 26.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.3783, allocations: 0.8008 MB / 457.1 MB, free: 25.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.3785, allocations: 50.91 kB / 457.1 MB, free: 25.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.3787, allocations: 127 kB / 457.3 MB, free: 25.26 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3787, allocations: 0 / 457.3 MB, free: 25.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.4055, allocations: 13.97 MB / 471.2 MB, free: 23.78 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.4057, allocations: 257.6 kB / 471.5 MB, free: 23.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.315, allocations: 0 / 471.5 MB, free: 23.52 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)