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/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.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.0008745/0.0008747, allocations: 96.7 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.0009283/0.0009283, allocations: 171.6 kB / 16.62 MB, free: 6.449 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.227/1.227, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1427/0.1427, allocations: 8.079 MB / 299.8 MB, free: 2.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002952, allocations: 12 kB / 363 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08724/0.08755, allocations: 52.51 MB / 415.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.002449/0.09004, allocations: 2.352 MB / 417.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.0918, allocations: 1.575 MB / 419.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.09193, allocations: 8 kB / 419.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.0922, allocations: 119.4 kB / 419.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.09256, allocations: 198.8 kB / 419.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.09415, allocations: 0.9967 MB / 420.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.09459, allocations: 465.7 kB / 421.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.09481, allocations: 157.2 kB / 421.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.09497, allocations: 175.2 kB / 421.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.09523, allocations: 223 kB / 421.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.09528, allocations: 24 kB / 421.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.09564, allocations: 243.8 kB / 422 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.45e-05/0.09571, allocations: 87.59 kB / 422 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.526e-05/0.09581, allocations: 113.5 kB / 422.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004581/0.09627, allocations: 490.7 kB / 422.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.09628, allocations: 4 kB / 422.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09629, allocations: 0 / 422.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.0963, allocations: 0 / 422.6 MB, free: 1.414 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.1603/0.2566, allocations: 1.376 MB / 424 MB, free: 40.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2567, allocations: 9.875 kB / 424 MB, free: 40.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.2568, allocations: 80.42 kB / 424.1 MB, free: 40.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.257, allocations: 55.09 kB / 424.2 MB, free: 40.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.2573, allocations: 335.3 kB / 424.5 MB, free: 40.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2574, allocations: 37.25 kB / 424.5 MB, free: 40.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.025e-05/0.2574, allocations: 46.16 kB / 424.6 MB, free: 40.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007372/0.2582, allocations: 0.5585 MB / 425.1 MB, free: 40.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2582, allocations: 0 / 425.1 MB, free: 40.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.2582, allocations: 16.28 kB / 425.1 MB, free: 40.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.2583, allocations: 16.97 kB / 425.2 MB, free: 40.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005793/0.2589, allocations: 472.4 kB / 425.6 MB, free: 40.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.261, allocations: 2.217 MB / 427.8 MB, free: 39.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.2617, allocations: 0.6365 MB / 428.5 MB, free: 38.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.262, allocations: 264.3 kB / 428.7 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-05/0.262, allocations: 15.83 kB / 428.7 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2621, allocations: 38.34 kB / 428.8 MB, free: 38.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.2621, allocations: 0 / 428.8 MB, free: 38.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.005317/0.2674, allocations: 1.815 MB / 430.6 MB, free: 38.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2674, allocations: 110.2 kB / 430.7 MB, free: 38.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.2677, allocations: 272.7 kB / 431 MB, free: 38.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.2677, allocations: 40.52 kB / 431 MB, free: 38.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.2679, allocations: 201.8 kB / 431.2 MB, free: 38.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.949e-05/0.268, allocations: 148.6 kB / 431.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.268, allocations: 12.31 kB / 431.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.2681, allocations: 343.6 kB / 431.7 MB, free: 37.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.2684, allocations: 270.5 kB / 432 MB, free: 37.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.2688, allocations: 322.7 kB / 432.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.2692, allocations: 294.7 kB / 432.6 MB, free: 37.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2692, allocations: 0 / 432.6 MB, free: 37.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002695/0.2719, allocations: 1.23 MB / 433.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2719, allocations: 6.5 kB / 433.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2719, allocations: 0 / 433.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00286/0.2748, allocations: 0.7766 MB / 434.6 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.2751, allocations: 94.77 kB / 434.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005025/0.2801, allocations: 3.554 MB / 438.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.2805, allocations: 50.44 kB / 438.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.2805, allocations: 16.12 kB / 438.3 MB, free: 34.93 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 (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 {8 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.2807, allocations: 179.6 kB / 438.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.2807, allocations: 35.31 kB / 438.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.2834, allocations: 1.159 MB / 439.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2835, allocations: 5.969 kB / 439.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.2835, allocations: 3.953 kB / 439.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.2835, allocations: 3.469 kB / 439.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/0.2865, allocations: 1.747 MB / 441.4 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2865, allocations: 0 / 441.4 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.2867, allocations: 63.11 kB / 441.5 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002789/0.2895, allocations: 0.7444 MB / 442.2 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.2895, allocations: 11.22 kB / 442.2 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004856/0.2944, allocations: 3.513 MB / 445.8 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2944, allocations: 1.562 kB / 445.8 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.2969, allocations: 1.179 MB / 446.9 MB, free: 30.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.297, allocations: 113.1 kB / 447 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.297, allocations: 21.84 kB / 447.1 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.2973, allocations: 27.7 kB / 447.1 MB, free: 30.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.2974, allocations: 33.52 kB / 447.1 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.2975, allocations: 24.2 kB / 447.2 MB, free: 30.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.2976, allocations: 183.1 kB / 447.3 MB, free: 30.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2976, allocations: 0 / 447.3 MB, free: 30.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005583/0.2982, allocations: 198.8 kB / 447.5 MB, free: 30.11 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 (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 {8 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002699/0.3009, allocations: 1.736 MB / 449.3 MB, free: 29.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.3027, allocations: 0.9683 MB / 450.2 MB, free: 28.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3027, allocations: 0 / 450.2 MB, free: 28.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.304, allocations: 0.6228 MB / 450.9 MB, free: 28.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3043, allocations: 36.95 kB / 450.9 MB, free: 28.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/0.3089, allocations: 3.11 MB / 454 MB, free: 26.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.3091, allocations: 0.8238 MB / 454.8 MB, free: 26.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.3093, allocations: 54.03 kB / 454.9 MB, free: 26.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.3094, allocations: 147.5 kB / 455 MB, free: 25.9 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3094, allocations: 4 kB / 455 MB, free: 25.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.3339, allocations: 13.38 MB / 468.4 MB, free: 24.96 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.3341, allocations: 253.7 kB / 468.6 MB, free: 24.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.096, allocations: 0 / 468.6 MB, free: 24.62 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/linux/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) Environment - environmentSimulation: