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.0007095/0.0007095, allocations: 84.19 kB / 15.75 MB, free: 416 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.0007736/0.0007737, allocations: 173.9 kB / 16.62 MB, free: 6.891 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.251/1.251, allocations: 223.3 MB / 240.7 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1447/0.1447, allocations: 8.087 MB / 299.8 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002805, allocations: 8 kB / 363 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08839/0.08868, allocations: 52.51 MB / 415.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001167/0.08989, allocations: 0.8746 MB / 416.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.09139, allocations: 1.4 MB / 417.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.09145, allocations: 4 kB / 417.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.09167, allocations: 83.66 kB / 417.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.09184, allocations: 67.61 kB / 417.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.09298, allocations: 0.7201 MB / 418.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.09316, allocations: 139.3 kB / 418.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.09327, allocations: 53.62 kB / 418.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.09338, allocations: 51.8 kB / 418.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.09351, allocations: 75.61 kB / 418.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.09353, allocations: 8 kB / 418.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.0938, allocations: 187.8 kB / 419.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.09384, allocations: 27.84 kB / 419.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.09388, allocations: 49.64 kB / 419.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.09412, allocations: 211.8 kB / 419.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.09413, allocations: 4 kB / 419.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09414, allocations: 0 / 419.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.09415, allocations: 0 / 419.4 MB, free: 4.672 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.00132/0.09547, allocations: 0.6159 MB / 420 MB, free: 4.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.09551, allocations: 8.031 kB / 420 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.09556, allocations: 38.56 kB / 420.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.09561, allocations: 19.84 kB / 420.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.09583, allocations: 223.3 kB / 420.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.09586, allocations: 8.234 kB / 420.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.09588, allocations: 12 kB / 420.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.09616, allocations: 183.5 kB / 420.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.09617, allocations: 0 / 420.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.09619, allocations: 0 / 420.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.0962, allocations: 4 kB / 420.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.09643, allocations: 160.6 kB / 420.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008827/0.09732, allocations: 0.7108 MB / 421.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.09777, allocations: 202.5 kB / 421.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.0979, allocations: 92.78 kB / 421.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.09795, allocations: 4 kB / 421.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.09798, allocations: 42.55 kB / 421.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.09799, allocations: 0 / 421.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001409/0.0994, allocations: 0.5609 MB / 422.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.09945, allocations: 51.41 kB / 422.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.0996, allocations: 168.5 kB / 422.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.09963, allocations: 29.7 kB / 422.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.0997, allocations: 116.2 kB / 422.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.09974, allocations: 59.19 kB / 422.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.09976, allocations: 7.875 kB / 422.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.09986, allocations: 330.8 kB / 423 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.09999, allocations: 91.97 kB / 423.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1001, allocations: 91.97 kB / 423.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1003, allocations: 112.2 kB / 423.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1003, allocations: 3.953 kB / 423.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007034/0.101, allocations: 370 kB / 423.7 MB, free: 140 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.101, allocations: 8 kB / 423.7 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.101, allocations: 0 / 423.7 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1572/0.2583, allocations: 137.4 kB / 423.8 MB, free: 40.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.2584, allocations: 32.06 kB / 423.8 MB, free: 40.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.2603, allocations: 1.873 MB / 425.7 MB, free: 39.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.2604, allocations: 19.53 kB / 425.7 MB, free: 39.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.2605, allocations: 3.906 kB / 425.7 MB, free: 39.57 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.0001006/0.2606, allocations: 132.4 kB / 425.9 MB, free: 39.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.2606, allocations: 21.17 kB / 425.9 MB, free: 39.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007114/0.2614, allocations: 365.1 kB / 426.2 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.2614, allocations: 1.406 kB / 426.2 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2614, allocations: 1.547 kB / 426.2 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2614, allocations: 3.844 kB / 426.2 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.2616, allocations: 293.4 kB / 426.5 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2616, allocations: 2.812 kB / 426.5 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.2617, allocations: 16.38 kB / 426.6 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004859/0.2622, allocations: 141.6 kB / 426.7 MB, free: 39.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2622, allocations: 5.25 kB / 426.7 MB, free: 39.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.2637, allocations: 1.86 MB / 428.6 MB, free: 37.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2637, allocations: 1.875 kB / 428.6 MB, free: 37.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.2643, allocations: 427.5 kB / 429 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.2643, allocations: 96.52 kB / 429.1 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.2643, allocations: 7.172 kB / 429.1 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2645, allocations: 17.05 kB / 429.1 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.2645, allocations: 12.95 kB / 429.1 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.2646, allocations: 4.781 kB / 429.1 MB, free: 37.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.424e-05/0.2647, allocations: 128 kB / 429.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.2647, allocations: 0.5625 kB / 429.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.265, allocations: 71.66 kB / 429.3 MB, free: 37.62 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.0008629/0.2659, allocations: 0.9708 MB / 430.3 MB, free: 36.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006289/0.2665, allocations: 378.1 kB / 430.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2665, allocations: 3.344 kB / 430.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.2669, allocations: 259.4 kB / 430.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.2672, allocations: 23.98 kB / 430.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2688, allocations: 1.207 MB / 432.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.2689, allocations: 0.7155 MB / 432.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.502e-05/0.269, allocations: 23.42 kB / 432.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.269, allocations: 44.47 kB / 432.9 MB, free: 35.53 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.269, allocations: 2.875 kB / 432.9 MB, free: 35.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.2841, allocations: 5.338 MB / 438.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001219/0.2842, allocations: 205 kB / 438.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/1.875, allocations: 0 / 438.5 MB, free: 34.9 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: