Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",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.006888/0.006888, allocations: 92.27 kB / 15.91 MB, free: 6.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 194.3 kB / 16.84 MB, free: 6.191 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.246/1.246, allocations: 222.9 MB / 240.5 MB, free: 4.453 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.075 MB / 298.7 MB, free: 2.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.91 kB / 361.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0782/0.07961, allocations: 51.52 MB / 412.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002268/0.0819, allocations: 1.296 MB / 414 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.08332, allocations: 1.248 MB / 415.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.08341, allocations: 7.938 kB / 415.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.08366, allocations: 59.75 kB / 415.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.08383, allocations: 43.75 kB / 415.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006408/0.08448, allocations: 338.8 kB / 415.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.08461, allocations: 131.4 kB / 415.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.08473, allocations: 49.41 kB / 415.8 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.0848, allocations: 47.86 kB / 415.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.08494, allocations: 67.69 kB / 415.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.08497, allocations: 8 kB / 415.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.08516, allocations: 111.8 kB / 416.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.0852, allocations: 23.92 kB / 416.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/0.08526, allocations: 59.67 kB / 416.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.08553, allocations: 203.6 kB / 416.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.08554, allocations: 3.984 kB / 416.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.08555, allocations: 4 kB / 416.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.08556, allocations: 4 kB / 416.3 MB, free: 6.375 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008303/0.08639, allocations: 479 kB / 416.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.08644, allocations: 12.03 kB / 416.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.08648, allocations: 42.75 kB / 416.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.08653, allocations: 16.75 kB / 416.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.08669, allocations: 184.2 kB / 417.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.08671, allocations: 12.38 kB / 417.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.08674, allocations: 12.38 kB / 417.1 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.08696, allocations: 138.2 kB / 417.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.08697, allocations: 7.938 kB / 417.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.08699, allocations: 7.938 kB / 417.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.08701, allocations: 4 kB / 417.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.08716, allocations: 95.95 kB / 417.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.0878, allocations: 0.4884 MB / 417.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.0881, allocations: 98.67 kB / 417.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/0.08816, allocations: 32.78 kB / 418 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.08827, allocations: 89.09 kB / 418 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.0883, allocations: 34.56 kB / 418.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.0883, allocations: 0 / 418.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005189/0.08883, allocations: 219.7 kB / 418.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.08886, allocations: 55.34 kB / 418.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.089, allocations: 142.1 kB / 418.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.08902, allocations: 29.7 kB / 418.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.08909, allocations: 123.4 kB / 418.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.08911, allocations: 27.84 kB / 418.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.08916, allocations: 29.7 kB / 418.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.08925, allocations: 314.8 kB / 419 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.08931, allocations: 31.98 kB / 419 MB, free: 3.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/0.08936, allocations: 31.92 kB / 419.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.641e-05/0.08946, allocations: 64.86 kB / 419.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.08947, allocations: 0 / 419.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002525/0.08973, allocations: 138.4 kB / 419.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.08975, allocations: 4 kB / 419.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.08976, allocations: 0 / 419.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.08998, allocations: 36.77 kB / 419.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.09006, allocations: 15.98 kB / 419.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009462/0.09101, allocations: 1.319 MB / 420.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.0911, allocations: 4.156 kB / 420.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.09112, allocations: 8.031 kB / 420.6 MB, free: 1.656 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 (9): * Single equations (assignments): 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/0.09121, allocations: 121.8 kB / 420.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.09125, allocations: 7.844 kB / 420.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.09151, allocations: 122.8 kB / 420.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.09152, allocations: 3.984 kB / 420.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.09153, allocations: 0 / 420.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.09153, allocations: 4 kB / 420.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.09173, allocations: 221.5 kB / 421.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.09174, allocations: 3.938 kB / 421.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.09179, allocations: 8 kB / 421.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.09194, allocations: 36.83 kB / 421.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.09196, allocations: 0 / 421.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008527/0.09282, allocations: 1.315 MB / 422.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.09283, allocations: 0 / 422.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.09308, allocations: 208.4 kB / 422.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.09313, allocations: 89.28 kB / 422.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.09315, allocations: 4 kB / 422.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.09326, allocations: 4 kB / 422.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.0933, allocations: 11.86 kB / 422.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.09331, allocations: 8 kB / 422.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.604e-05/0.0934, allocations: 109.9 kB / 422.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09341, allocations: 4 kB / 422.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.09369, allocations: 43.83 kB / 422.9 MB, free: 15.11 MB / 366.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 (6): * Single equations (assignments): 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000488/0.09418, allocations: 0.7366 MB / 423.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.09451, allocations: 186.9 kB / 423.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.09452, allocations: 4 kB / 423.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.0947, allocations: 146.6 kB / 424 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.095, allocations: 16 kB / 424 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.09659, allocations: 1.657 MB / 425.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.09681, allocations: 0.7042 MB / 426.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.09688, allocations: 16.64 kB / 426.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.09693, allocations: 35.42 kB / 426.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09694, allocations: 4 kB / 426.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.086/0.1829, allocations: 2.729 MB / 429.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.1832, allocations: 208.8 kB / 429.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.846, allocations: 4 kB / 429.4 MB, free: 8.562 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)