Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",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.001238/0.001238, allocations: 101 kB / 15.73 MB, free: 436 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.001447/0.001447, allocations: 182.3 kB / 16.62 MB, free: 6.422 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.274/1.274, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1355/0.1355, allocations: 8.086 MB / 299.7 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 12 kB / 362.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09568/0.09599, allocations: 52.5 MB / 415.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001202/0.09723, allocations: 0.8222 MB / 416.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.0988, allocations: 1.396 MB / 417.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.09886, allocations: 4 kB / 417.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.09909, allocations: 79.59 kB / 417.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.09927, allocations: 83.73 kB / 417.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.1004, allocations: 0.7201 MB / 418.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1006, allocations: 111.7 kB / 418.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1008, allocations: 49.69 kB / 418.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.01e-05/0.1008, allocations: 51.84 kB / 418.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.101, allocations: 75.67 kB / 418.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.101, allocations: 8 kB / 418.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.1013, allocations: 155.8 kB / 418.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.1013, allocations: 27.91 kB / 418.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.1014, allocations: 53.58 kB / 419 MB, free: 5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.1016, allocations: 211.7 kB / 419.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1016, allocations: 0 / 419.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1016, allocations: 4 kB / 419.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.1016, allocations: 0 / 419.2 MB, free: 4.789 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001526/0.1032, allocations: 0.6081 MB / 419.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1032, allocations: 8.031 kB / 419.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.1033, allocations: 42.55 kB / 419.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.1033, allocations: 19.86 kB / 419.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1036, allocations: 219.3 kB / 420.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1036, allocations: 8.234 kB / 420.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1036, allocations: 16 kB / 420.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.1039, allocations: 175.5 kB / 420.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1039, allocations: 0 / 420.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.104, allocations: 4 kB / 420.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.104, allocations: 7.953 kB / 420.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.1042, allocations: 152.6 kB / 420.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009543/0.1052, allocations: 0.7186 MB / 421.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.1056, allocations: 198.5 kB / 421.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.1057, allocations: 11.92 kB / 421.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.1057, allocations: 46.48 kB / 421.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.1057, allocations: 0 / 421.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001593/0.1073, allocations: 0.5502 MB / 422 MB, free: 1.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1074, allocations: 55.41 kB / 422 MB, free: 1.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.1076, allocations: 168.5 kB / 422.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.1076, allocations: 25.7 kB / 422.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.1077, allocations: 120.2 kB / 422.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1077, allocations: 55.2 kB / 422.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.1077, allocations: 4 kB / 422.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1078, allocations: 322.8 kB / 422.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.108, allocations: 87.97 kB / 422.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1081, allocations: 103.9 kB / 422.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1083, allocations: 108.3 kB / 423 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1083, allocations: 3.953 kB / 423 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007948/0.1091, allocations: 370 kB / 423.3 MB, free: 368 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1091, allocations: 6.188 kB / 423.4 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1091, allocations: 3.938 kB / 423.4 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/0.1098, allocations: 140.7 kB / 423.5 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.11, allocations: 31.92 kB / 423.5 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1636/0.2735, allocations: 1.914 MB / 425.4 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.2738, allocations: 12.88 kB / 425.5 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.2738, allocations: 9.766 kB / 425.5 MB, free: 39.3 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 (18): * Single equations (assignments): 17 * 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 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.2739, allocations: 124.6 kB / 425.6 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.274, allocations: 19.58 kB / 425.6 MB, free: 39.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007881/0.2748, allocations: 366.6 kB / 426 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2748, allocations: 3.688 kB / 426 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.2748, allocations: 0 / 426 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2748, allocations: 5.172 kB / 426 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.2751, allocations: 290.5 kB / 426.3 MB, free: 38.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2751, allocations: 0 / 426.3 MB, free: 38.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.2752, allocations: 23.2 kB / 426.3 MB, free: 38.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/0.2757, allocations: 144.3 kB / 426.4 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2758, allocations: 0 / 426.4 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.2775, allocations: 1.9 MB / 428.3 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2775, allocations: 3.625 kB / 428.3 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007242/0.2783, allocations: 427.8 kB / 428.7 MB, free: 37.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.2783, allocations: 96.16 kB / 428.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.2784, allocations: 10.5 kB / 428.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.2785, allocations: 16.36 kB / 428.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.2786, allocations: 14.98 kB / 428.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.2786, allocations: 3.219 kB / 428.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.2787, allocations: 128 kB / 429 MB, free: 37.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2787, allocations: 0 / 429 MB, free: 37.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.2791, allocations: 67.31 kB / 429.1 MB, free: 37.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 (13): * Single equations (assignments): 12 * 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 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009682/0.2801, allocations: 0.966 MB / 430 MB, free: 36.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006837/0.2808, allocations: 387.9 kB / 430.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2808, allocations: 0 / 430.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.2812, allocations: 257.7 kB / 430.7 MB, free: 36.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.2814, allocations: 24.25 kB / 430.7 MB, free: 36.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/0.2822, allocations: 0.62 MB / 431.3 MB, free: 36.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.2823, allocations: 0.7297 MB / 432 MB, free: 35.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.493e-05/0.2824, allocations: 24.2 kB / 432.1 MB, free: 35.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.2825, allocations: 48.14 kB / 432.1 MB, free: 35.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2825, allocations: 4.125 kB / 432.1 MB, free: 35.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.2975, allocations: 5.272 MB / 437.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001272/0.2976, allocations: 201.3 kB / 437.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.871, allocations: 0 / 437.6 MB, free: 34.69 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) Environment - environmentSimulation: