Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001096, allocations: 180.9 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.5 MB / 230 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 97.73 kB / 280.9 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05794/0.05794, allocations: 8.107 MB / 339.7 MB, free: 6.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.962e-05, allocations: 2.75 kB / 398.6 MB, free: 49.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.08945, allocations: 52.53 MB / 451.1 MB, free: 5.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.1898, allocations: 78.58 MB / 0.5173 GB, free: 6.559 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.19, allocations: 63.97 kB / 0.5173 GB, free: 6.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2329/0.423, allocations: 8.345 MB / 0.5255 GB, free: 78.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.423, allocations: 1 kB / 0.5255 GB, free: 78.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.146e-05/0.423, allocations: 5.719 kB / 0.5255 GB, free: 78.01 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001919/0.425, allocations: 0.6183 MB / 0.5261 GB, free: 77.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.969e-05/0.425, allocations: 12.7 kB / 0.5261 GB, free: 77.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.4252, allocations: 25.62 kB / 0.5261 GB, free: 77.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.4258, allocations: 274.4 kB / 0.5264 GB, free: 77.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.4258, allocations: 7.094 kB / 0.5264 GB, free: 77.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.4259, allocations: 10.56 kB / 0.5264 GB, free: 77.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006283/0.4265, allocations: 265.2 kB / 0.5266 GB, free: 77.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.4271, allocations: 256.4 kB / 0.5269 GB, free: 77.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4271, allocations: 0 / 0.5269 GB, free: 77.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.4271, allocations: 4.562 kB / 0.5269 GB, free: 77.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4271, allocations: 7.406 kB / 0.5269 GB, free: 77.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.429, allocations: 1.084 MB / 0.528 GB, free: 76.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.43, allocations: 423.9 kB / 0.5284 GB, free: 76.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.4303, allocations: 160.7 kB / 0.5285 GB, free: 76.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.996e-05/0.4304, allocations: 7.719 kB / 0.5285 GB, free: 76.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.4304, allocations: 44.89 kB / 0.5286 GB, free: 76.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.364e-06/0.4304, allocations: 0 / 0.5286 GB, free: 76.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001531/0.4319, allocations: 0.5135 MB / 0.5291 GB, free: 76.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.432, allocations: 55.28 kB / 0.5291 GB, free: 76.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.4322, allocations: 210.2 kB / 0.5293 GB, free: 76.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.4323, allocations: 26.8 kB / 0.5293 GB, free: 76.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.4324, allocations: 147.5 kB / 0.5295 GB, free: 76.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/0.4324, allocations: 89.84 kB / 0.5296 GB, free: 76.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.4325, allocations: 0 / 0.5296 GB, free: 76.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.4325, allocations: 334.6 kB / 0.5299 GB, free: 75.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.4328, allocations: 144.8 kB / 0.53 GB, free: 75.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.433, allocations: 147 kB / 0.5302 GB, free: 75.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.4335, allocations: 172.8 kB / 0.5303 GB, free: 75.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4335, allocations: 1.25 kB / 0.5303 GB, free: 75.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001549/0.435, allocations: 0.5938 MB / 0.5309 GB, free: 75.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4351, allocations: 6.219 kB / 0.5309 GB, free: 75.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4351, allocations: 1.062 kB / 0.5309 GB, free: 75.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.4362, allocations: 238.1 kB / 0.5311 GB, free: 75.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.4364, allocations: 46.5 kB / 0.5312 GB, free: 75.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/0.4397, allocations: 2.414 MB / 0.5336 GB, free: 74.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.44, allocations: 15.36 kB / 0.5336 GB, free: 74.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.44, allocations: 13.31 kB / 0.5336 GB, free: 74.61 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.4402, allocations: 118 kB / 0.5337 GB, free: 74.5 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001523/0.4418, allocations: 0.5124 MB / 0.5342 GB, free: 74.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.4418, allocations: 23.53 kB / 0.5342 GB, free: 74.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.4434, allocations: 0.582 MB / 0.5348 GB, free: 74.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.4434, allocations: 3.688 kB / 0.5348 GB, free: 74.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4434, allocations: 0 / 0.5348 GB, free: 74.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.4434, allocations: 3.047 kB / 0.5348 GB, free: 74.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.4454, allocations: 1.029 MB / 0.5358 GB, free: 74.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4454, allocations: 5.781 kB / 0.5358 GB, free: 74.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.4456, allocations: 29.14 kB / 0.5358 GB, free: 74.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009875/0.4466, allocations: 241.3 kB / 0.5361 GB, free: 74.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.4466, allocations: 2.203 kB / 0.5361 GB, free: 74.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.4496, allocations: 2.422 MB / 0.5384 GB, free: 72.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4497, allocations: 4.125 kB / 0.5384 GB, free: 72.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.4511, allocations: 0.635 MB / 0.539 GB, free: 72.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.126e-05/0.4512, allocations: 103.3 kB / 0.5391 GB, free: 72.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.4513, allocations: 0.8438 kB / 0.5391 GB, free: 72.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.4515, allocations: 21.7 kB / 0.5392 GB, free: 72.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.4516, allocations: 17.75 kB / 0.5392 GB, free: 72.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.4516, allocations: 10 kB / 0.5392 GB, free: 72.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.4518, allocations: 161.6 kB / 0.5393 GB, free: 72.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4518, allocations: 0 / 0.5393 GB, free: 72.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006214/0.4525, allocations: 101 kB / 0.5394 GB, free: 72.26 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001793/0.4543, allocations: 1.174 MB / 0.5406 GB, free: 71.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.4554, allocations: 0.528 MB / 0.5411 GB, free: 71.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4554, allocations: 0 / 0.5411 GB, free: 71.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007123/0.4561, allocations: 368.5 kB / 0.5415 GB, free: 70.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.4564, allocations: 10.34 kB / 0.5415 GB, free: 70.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009084/0.4574, allocations: 377.3 kB / 0.5418 GB, free: 70.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.4576, allocations: 0.7522 MB / 0.5426 GB, free: 69.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.4577, allocations: 35.31 kB / 0.5426 GB, free: 69.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/0.4578, allocations: 64.66 kB / 0.5427 GB, free: 69.91 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4578, allocations: 0 / 0.5427 GB, free: 69.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.4863, allocations: 7.217 MB / 0.5497 GB, free: 65.9 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.4865, allocations: 124.6 kB / 0.5498 GB, free: 65.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.301, allocations: 4 kB / 0.5498 GB, free: 65.71 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)