Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",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.001/0.001, 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.001112/0.001113, allocations: 177.4 kB / 16.61 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.298/1.298, allocations: 223.2 MB / 240.5 MB, free: 5.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1468/0.1468, allocations: 8.089 MB / 299.7 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003107, allocations: 12 kB / 362.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08837/0.08871, allocations: 52.52 MB / 415.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.001903/0.09066, allocations: 1.636 MB / 417 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.09282, allocations: 1.599 MB / 418.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.09304, allocations: 8 kB / 418.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.09342, allocations: 107.4 kB / 418.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.09389, allocations: 187.5 kB / 418.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.0954, allocations: 0.7707 MB / 419.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005366/0.09595, allocations: 299.3 kB / 420 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.09616, allocations: 106.4 kB / 420.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.09636, allocations: 143.5 kB / 420.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.09674, allocations: 191.2 kB / 420.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.09682, allocations: 20 kB / 420.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.09722, allocations: 171.8 kB / 420.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.381e-05/0.09731, allocations: 63.73 kB / 420.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.431e-05/0.09741, allocations: 89.52 kB / 420.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.0979, allocations: 391.2 kB / 421.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.09791, allocations: 0 / 421.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09792, allocations: 0 / 421.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.09793, allocations: 0 / 421.1 MB, free: 2.895 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003615/0.1016, allocations: 1.088 MB / 422.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1016, allocations: 8.031 kB / 422.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.1017, allocations: 66.53 kB / 422.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.972e-05/0.1018, allocations: 47.39 kB / 422.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.1023, allocations: 314.4 kB / 422.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1023, allocations: 24.56 kB / 422.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.1024, allocations: 32 kB / 422.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.103, allocations: 412.7 kB / 423.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.103, allocations: 0 / 423.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.1031, allocations: 15.94 kB / 423.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1031, allocations: 11.95 kB / 423.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.1036, allocations: 414 kB / 423.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1602/0.2638, allocations: 1.553 MB / 425.1 MB, free: 40.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.2649, allocations: 0.5559 MB / 425.6 MB, free: 40.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.31e-05/0.265, allocations: 11.28 kB / 425.6 MB, free: 40.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.265, allocations: 40.72 kB / 425.7 MB, free: 40.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.495e-06/0.265, allocations: 3.906 kB / 425.7 MB, free: 40.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.004124/0.2691, allocations: 1.618 MB / 427.3 MB, free: 39.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.2692, allocations: 61.59 kB / 427.4 MB, free: 39.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.2695, allocations: 275.8 kB / 427.6 MB, free: 39.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.2696, allocations: 37.45 kB / 427.7 MB, free: 39.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.2697, allocations: 163.3 kB / 427.8 MB, free: 39.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.2698, allocations: 155 kB / 428 MB, free: 39.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.2698, allocations: 12.84 kB / 428 MB, free: 39.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.2699, allocations: 344.8 kB / 428.3 MB, free: 39.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.2703, allocations: 259.8 kB / 428.6 MB, free: 39.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.2706, allocations: 265.7 kB / 428.8 MB, free: 39.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.271, allocations: 287.2 kB / 429.1 MB, free: 39.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.271, allocations: 0 / 429.1 MB, free: 39.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002208/0.2732, allocations: 1.026 MB / 430.1 MB, free: 38.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.2732, allocations: 3.219 kB / 430.1 MB, free: 38.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2732, allocations: 3.031 kB / 430.1 MB, free: 38.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.275, allocations: 423.6 kB / 430.6 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.2753, allocations: 77.73 kB / 430.6 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005788/0.2811, allocations: 5.753 MB / 436.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.2815, allocations: 37.84 kB / 436.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.2815, allocations: 24.42 kB / 436.4 MB, free: 34.55 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 (46): * Single equations (assignments): 43 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.2817, allocations: 158 kB / 436.6 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.2818, allocations: 35.09 kB / 436.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.284, allocations: 1.001 MB / 437.6 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.284, allocations: 9.125 kB / 437.6 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.284, allocations: 0 / 437.6 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.284, allocations: 3.281 kB / 437.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.2845, allocations: 0.5603 MB / 438.2 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.2845, allocations: 2.406 kB / 438.2 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.2848, allocations: 64.08 kB / 438.3 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/0.2863, allocations: 420.3 kB / 438.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.445e-05/0.2864, allocations: 15.41 kB / 438.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004816/0.2912, allocations: 5.688 MB / 444.4 MB, free: 28.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2912, allocations: 7.469 kB / 444.4 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.2931, allocations: 1.013 MB / 445.4 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.2932, allocations: 117.3 kB / 445.5 MB, free: 27.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.2932, allocations: 11.59 kB / 445.5 MB, free: 27.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.2936, allocations: 42.03 kB / 445.6 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/0.2937, allocations: 44.03 kB / 445.6 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.2937, allocations: 12.97 kB / 445.6 MB, free: 27.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.2939, allocations: 193.4 kB / 445.8 MB, free: 27.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.294, allocations: 0 / 445.8 MB, free: 27.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006534/0.2946, allocations: 176 kB / 446 MB, free: 27.69 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 (37): * Single equations (assignments): 34 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002106/0.2967, allocations: 1.58 MB / 447.6 MB, free: 26.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.2984, allocations: 1.076 MB / 448.6 MB, free: 25.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2984, allocations: 3.938 kB / 448.7 MB, free: 25.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.2995, allocations: 0.7489 MB / 449.4 MB, free: 25.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2998, allocations: 43.67 kB / 449.4 MB, free: 25.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3012, allocations: 1.142 MB / 450.6 MB, free: 24.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.3014, allocations: 0.8068 MB / 451.4 MB, free: 23.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.3016, allocations: 55.83 kB / 451.4 MB, free: 23.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.3017, allocations: 116 kB / 451.6 MB, free: 23.87 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3017, allocations: 0 / 451.6 MB, free: 23.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.3271, allocations: 12.82 MB / 464.4 MB, free: 23.02 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/0.3272, allocations: 212.7 kB / 464.6 MB, free: 22.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.16, allocations: 2.672 kB / 464.6 MB, free: 22.77 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1) Environment - environmentSimulation: