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/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.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.0007088/0.0007089, allocations: 88.17 kB / 15.75 MB, free: 408 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.0007542/0.0007542, allocations: 178.4 kB / 16.63 MB, free: 6.895 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.265/1.265, allocations: 223.3 MB / 240.7 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1521/0.1521, allocations: 8.089 MB / 299.8 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002879, allocations: 11.94 kB / 363 MB, free: 13.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08475/0.08506, allocations: 52.52 MB / 415.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.001176/0.08626, allocations: 0.9033 MB / 416.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.08748, allocations: 1.186 MB / 417.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.08754, allocations: 0 / 417.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.08772, allocations: 59.75 kB / 417.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.08785, allocations: 43.7 kB / 417.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.08839, allocations: 287.1 kB / 417.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.08851, allocations: 111.5 kB / 418.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.08862, allocations: 53.39 kB / 418.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.994e-05/0.08868, allocations: 47.78 kB / 418.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.0888, allocations: 55.77 kB / 418.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.08883, allocations: 4 kB / 418.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.08899, allocations: 95.89 kB / 418.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.08902, allocations: 19.91 kB / 418.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.08906, allocations: 49.64 kB / 418.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.08925, allocations: 147.8 kB / 418.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.08926, allocations: 0 / 418.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.08927, allocations: 4 kB / 418.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.08927, allocations: 4 kB / 418.5 MB, free: 5.531 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.0007203/0.09, allocations: 450.8 kB / 419 MB, free: 5.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.09004, allocations: 12.03 kB / 419 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.09009, allocations: 46.55 kB / 419 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.09013, allocations: 15.86 kB / 419 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.09027, allocations: 182.8 kB / 419.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.0903, allocations: 16 kB / 419.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.09032, allocations: 12 kB / 419.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.09053, allocations: 137.6 kB / 419.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.09054, allocations: 0 / 419.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.09056, allocations: 4 kB / 419.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.09057, allocations: 7.953 kB / 419.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.09072, allocations: 95.91 kB / 419.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.09132, allocations: 492.4 kB / 420 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.0916, allocations: 102.6 kB / 420.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.09165, allocations: 28.84 kB / 420.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.351e-05/0.09175, allocations: 89.11 kB / 420.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.09178, allocations: 34.5 kB / 420.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.09179, allocations: 4 kB / 420.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004569/0.09225, allocations: 223.5 kB / 420.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.09229, allocations: 55.41 kB / 420.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.09242, allocations: 149.8 kB / 420.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.09244, allocations: 25.7 kB / 420.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.09251, allocations: 119.5 kB / 420.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.09253, allocations: 23.64 kB / 420.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.09254, allocations: 0 / 420.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.09263, allocations: 318.8 kB / 421.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.837e-05/0.09268, allocations: 27.98 kB / 421.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.189e-05/0.09273, allocations: 31.98 kB / 421.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.199e-05/0.09279, allocations: 32 kB / 421.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.0928, allocations: 0 / 421.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002282/0.09303, allocations: 146.2 kB / 421.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.09305, allocations: 4 kB / 421.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.09306, allocations: 0 / 421.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/0.09324, allocations: 36.77 kB / 421.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.09332, allocations: 15.98 kB / 421.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000908/0.09423, allocations: 1.308 MB / 422.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.025e-05/0.09431, allocations: 12.03 kB / 422.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.09433, allocations: 4 kB / 422.7 MB, free: 0.918 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.03e-05/0.09442, allocations: 130.3 kB / 422.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.09445, allocations: 4 kB / 422.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.09469, allocations: 126.9 kB / 423 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.0947, allocations: 288 / 423 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.09471, allocations: 4 kB / 423 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.09472, allocations: 4 kB / 423 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.09493, allocations: 225.5 kB / 423.2 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.09494, allocations: 0 / 423.2 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.09498, allocations: 4 kB / 423.2 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.09511, allocations: 36.83 kB / 423.2 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.09513, allocations: 4 kB / 423.2 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008534/0.09599, allocations: 1.311 MB / 424.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.096, allocations: 0 / 424.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.09624, allocations: 220.7 kB / 424.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.09629, allocations: 85.02 kB / 424.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.09631, allocations: 4 kB / 424.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.09642, allocations: 7.984 kB / 424.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.09644, allocations: 4 kB / 424.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.09645, allocations: 7.984 kB / 424.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.289e-05/0.09654, allocations: 111.3 kB / 425 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09655, allocations: 4 kB / 425 MB, free: 14.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000262/0.09682, allocations: 35.94 kB / 425 MB, free: 14.36 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004656/0.09729, allocations: 0.7444 MB / 425.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.09758, allocations: 186.9 kB / 426 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.09759, allocations: 0 / 426 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.09775, allocations: 150.6 kB / 426.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.09805, allocations: 15.89 kB / 426.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009106/0.09897, allocations: 0.698 MB / 426.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.09922, allocations: 0.7004 MB / 427.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.149e-05/0.09928, allocations: 12.64 kB / 427.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.09933, allocations: 35.42 kB / 427.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09934, allocations: 0 / 427.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.1123, allocations: 2.617 MB / 430.2 MB, free: 9.223 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.1125, allocations: 203.6 kB / 430.4 MB, free: 8.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.659, allocations: 0 / 430.4 MB, free: 8.973 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/linux/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) Environment - environmentSimulation: