Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",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.0009928/0.0009928, allocations: 97.02 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.001159/0.001159, allocations: 185 kB / 16.96 MB, free: 6.914 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.277/1.277, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1559/0.1559, allocations: 8.087 MB / 300.2 MB, free: 2.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003265, allocations: 12 kB / 363.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.102, allocations: 52.51 MB / 416.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.002683/0.1048, allocations: 2.522 MB / 418.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1067, allocations: 1.644 MB / 420.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1068, allocations: 8 kB / 420.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.1072, allocations: 151.3 kB / 420.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.1076, allocations: 206.8 kB / 420.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.1095, allocations: 1.172 MB / 421.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.11, allocations: 493.6 kB / 422.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.1102, allocations: 173.5 kB / 422.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.1104, allocations: 187.3 kB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.1107, allocations: 222.9 kB / 422.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.1107, allocations: 24 kB / 422.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.1111, allocations: 255.7 kB / 423.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.1112, allocations: 83.61 kB / 423.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.1114, allocations: 244.5 kB / 423.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006148/0.112, allocations: 0.6579 MB / 424.1 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.112, allocations: 0 / 424.1 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.112, allocations: 4 kB / 424.1 MB, free: 272 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.112, allocations: 0 / 424.1 MB, free: 272 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.1661/0.2781, allocations: 1.372 MB / 425.5 MB, free: 40.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2782, allocations: 10.09 kB / 425.5 MB, free: 40.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.924e-05/0.2783, allocations: 77.48 kB / 425.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.316e-05/0.2784, allocations: 58.16 kB / 425.6 MB, free: 40.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.2787, allocations: 345.1 kB / 426 MB, free: 40.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2787, allocations: 32.69 kB / 426 MB, free: 40.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.2788, allocations: 43.09 kB / 426 MB, free: 40.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007344/0.2796, allocations: 0.563 MB / 426.6 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2796, allocations: 7.781 kB / 426.6 MB, free: 40.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.2796, allocations: 22.41 kB / 426.6 MB, free: 40.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.2796, allocations: 9.766 kB / 426.6 MB, free: 40.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005736/0.2802, allocations: 471.3 kB / 427.1 MB, free: 40.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.2824, allocations: 2.217 MB / 429.3 MB, free: 39.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007514/0.2832, allocations: 0.6415 MB / 430 MB, free: 39.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.2835, allocations: 268.4 kB / 430.2 MB, free: 39.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.2836, allocations: 9.859 kB / 430.2 MB, free: 39.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.2836, allocations: 43.22 kB / 430.3 MB, free: 39.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.724e-06/0.2836, allocations: 0 / 430.3 MB, free: 39.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006472/0.2901, allocations: 1.816 MB / 432.1 MB, free: 38.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.2901, allocations: 112.8 kB / 432.2 MB, free: 38.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.2904, allocations: 276.5 kB / 432.5 MB, free: 38.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.2904, allocations: 41.05 kB / 432.5 MB, free: 38.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/0.2905, allocations: 204.6 kB / 432.7 MB, free: 38.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.2906, allocations: 143.9 kB / 432.9 MB, free: 38.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.2907, allocations: 55.27 kB / 432.9 MB, free: 38.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.192e-05/0.2908, allocations: 340.2 kB / 433.2 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.2911, allocations: 274.2 kB / 433.5 MB, free: 38.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.2915, allocations: 321.3 kB / 433.8 MB, free: 38.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/0.2922, allocations: 0.6099 MB / 434.4 MB, free: 38.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2922, allocations: 0 / 434.4 MB, free: 38.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003085/0.2953, allocations: 1.204 MB / 435.6 MB, free: 37.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2953, allocations: 6.219 kB / 435.6 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.2953, allocations: 5.438 kB / 435.6 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003288/0.2986, allocations: 0.7773 MB / 436.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.2989, allocations: 87.67 kB / 436.5 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00548/0.3044, allocations: 3.559 MB / 440.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.3048, allocations: 63.56 kB / 440.1 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.3048, allocations: 16.78 kB / 440.1 MB, free: 35.17 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.0001685/0.305, allocations: 164.5 kB / 440.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.3051, allocations: 37.25 kB / 440.3 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/0.3082, allocations: 1.165 MB / 441.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3082, allocations: 3.625 kB / 441.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.3082, allocations: 3.562 kB / 441.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3082, allocations: 0 / 441.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003421/0.3116, allocations: 1.758 MB / 443.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.3116, allocations: 3.844 kB / 443.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.3118, allocations: 57.2 kB / 443.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003189/0.315, allocations: 0.7429 MB / 444.1 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.3151, allocations: 18.84 kB / 444.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005287/0.3204, allocations: 3.517 MB / 447.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3204, allocations: 0 / 447.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.3232, allocations: 1.173 MB / 448.8 MB, free: 30.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.3233, allocations: 117.9 kB / 448.9 MB, free: 30.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.3234, allocations: 11.64 kB / 448.9 MB, free: 30.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.3237, allocations: 33.94 kB / 448.9 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.3238, allocations: 40.02 kB / 449 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.3239, allocations: 16.73 kB / 449 MB, free: 30.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.324, allocations: 190.7 kB / 449.2 MB, free: 30.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.324, allocations: 0 / 449.2 MB, free: 30.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005757/0.3246, allocations: 200.8 kB / 449.4 MB, free: 30.35 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 (34): * Single equations (assignments): 33 * 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.003093/0.3277, allocations: 1.741 MB / 451.1 MB, free: 29.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.3297, allocations: 0.9684 MB / 452.1 MB, free: 28.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3297, allocations: 4 kB / 452.1 MB, free: 28.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.3312, allocations: 0.6212 MB / 452.7 MB, free: 28.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.3315, allocations: 41.48 kB / 452.8 MB, free: 28.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008295/0.3398, allocations: 5.296 MB / 458.1 MB, free: 25.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.3401, allocations: 0.8231 MB / 458.9 MB, free: 24.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.3402, allocations: 46.25 kB / 458.9 MB, free: 24.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.3404, allocations: 153.2 kB / 459.1 MB, free: 24.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3404, allocations: 0 / 459.1 MB, free: 24.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.3672, allocations: 13.53 MB / 472.6 MB, free: 23.03 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.3673, allocations: 268.6 kB / 472.9 MB, free: 22.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.262, allocations: 0 / 472.9 MB, free: 22.66 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe 2>&1)