Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",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.0009983/0.0009983, allocations: 175.4 kB / 8.047 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.465/1.465, allocations: 221.5 MB / 230 MB, free: 7.508 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.0008775/0.0008779, allocations: 93.91 kB / 280.9 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04817/0.04817, allocations: 8.111 MB / 339.8 MB, free: 6.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.217e-05, allocations: 5.031 kB / 398.6 MB, free: 49.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 52.52 MB / 451.1 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.2081, allocations: 78.57 MB / 0.5172 GB, free: 6.562 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.2084, allocations: 59.97 kB / 0.5173 GB, free: 6.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2518/0.4602, allocations: 7.619 MB / 0.5247 GB, free: 78.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4602, allocations: 0 / 0.5247 GB, free: 78.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.4602, allocations: 7.188 kB / 0.5247 GB, free: 78.03 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001286/0.4615, allocations: 0.5937 MB / 0.5253 GB, free: 77.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4616, allocations: 18.62 kB / 0.5253 GB, free: 77.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.4617, allocations: 27.8 kB / 0.5254 GB, free: 77.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.4619, allocations: 255.5 kB / 0.5256 GB, free: 77.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.462, allocations: 3.844 kB / 0.5256 GB, free: 77.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.462, allocations: 8.5 kB / 0.5256 GB, free: 77.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003985/0.4624, allocations: 234.2 kB / 0.5258 GB, free: 77.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.4628, allocations: 229.9 kB / 0.5261 GB, free: 77.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4628, allocations: 3.125 kB / 0.5261 GB, free: 77.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.4628, allocations: 0 / 0.5261 GB, free: 77.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4628, allocations: 9.344 kB / 0.5261 GB, free: 77.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.4643, allocations: 1.175 MB / 0.5272 GB, free: 76.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.4649, allocations: 295.6 kB / 0.5275 GB, free: 76.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.4651, allocations: 147.3 kB / 0.5276 GB, free: 76.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.4652, allocations: 84.86 kB / 0.5277 GB, free: 76.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.4652, allocations: 40.8 kB / 0.5278 GB, free: 76.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.315e-06/0.4652, allocations: 0 / 0.5278 GB, free: 76.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001609/0.4669, allocations: 0.5346 MB / 0.5283 GB, free: 76.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.4669, allocations: 54.48 kB / 0.5283 GB, free: 76.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.4671, allocations: 183.6 kB / 0.5285 GB, free: 76.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4671, allocations: 26.55 kB / 0.5285 GB, free: 76.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.4672, allocations: 139.1 kB / 0.5287 GB, free: 76.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.4673, allocations: 74.41 kB / 0.5287 GB, free: 76.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/0.4673, allocations: 0 / 0.5287 GB, free: 76.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.4674, allocations: 336.6 kB / 0.5291 GB, free: 75.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.4675, allocations: 126.6 kB / 0.5292 GB, free: 75.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.4677, allocations: 123.6 kB / 0.5293 GB, free: 75.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.4681, allocations: 155.2 kB / 0.5295 GB, free: 75.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4681, allocations: 0.6094 kB / 0.5295 GB, free: 75.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001611/0.4698, allocations: 0.588 MB / 0.53 GB, free: 75.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4698, allocations: 6.156 kB / 0.53 GB, free: 75.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4698, allocations: 0 / 0.53 GB, free: 75.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.4713, allocations: 292.7 kB / 0.5303 GB, free: 75.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.4715, allocations: 30.56 kB / 0.5303 GB, free: 75.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.4747, allocations: 2.431 MB / 0.5327 GB, free: 74.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.4749, allocations: 17 kB / 0.5327 GB, free: 74.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.475, allocations: 10.53 kB / 0.5327 GB, free: 74.5 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.4751, allocations: 110.9 kB / 0.5328 GB, free: 74.39 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001613/0.4767, allocations: 0.5452 MB / 0.5334 GB, free: 74.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.4768, allocations: 18.28 kB / 0.5334 GB, free: 74.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.4785, allocations: 0.5992 MB / 0.534 GB, free: 74.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4786, allocations: 3.953 kB / 0.534 GB, free: 74.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.4786, allocations: 0 / 0.534 GB, free: 74.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4786, allocations: 2.781 kB / 0.534 GB, free: 74.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.4791, allocations: 383 kB / 0.5344 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.4791, allocations: 0.7031 kB / 0.5344 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.4792, allocations: 31.42 kB / 0.5344 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.4805, allocations: 290.4 kB / 0.5347 GB, free: 74.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.4805, allocations: 6.516 kB / 0.5347 GB, free: 74.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/0.4835, allocations: 2.437 MB / 0.537 GB, free: 72.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4835, allocations: 3.938 kB / 0.5371 GB, free: 72.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.4852, allocations: 0.6556 MB / 0.5377 GB, free: 72.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.4852, allocations: 106.1 kB / 0.5378 GB, free: 72.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.4853, allocations: 1.859 kB / 0.5378 GB, free: 72.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.4855, allocations: 8.188 kB / 0.5378 GB, free: 72.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.4856, allocations: 27.47 kB / 0.5378 GB, free: 72.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.4856, allocations: 7.438 kB / 0.5378 GB, free: 72.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.4858, allocations: 150.1 kB / 0.538 GB, free: 72.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4858, allocations: 0.9688 kB / 0.538 GB, free: 72.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005155/0.4863, allocations: 89.5 kB / 0.5381 GB, free: 72.44 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 (19): * Single equations (assignments): 18 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001785/0.4881, allocations: 1.207 MB / 0.5392 GB, free: 71.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.4892, allocations: 479.8 kB / 0.5397 GB, free: 71.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4893, allocations: 0 / 0.5397 GB, free: 71.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007094/0.49, allocations: 336.8 kB / 0.54 GB, free: 71.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.4903, allocations: 14.34 kB / 0.54 GB, free: 71.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/0.4913, allocations: 326 kB / 0.5403 GB, free: 71.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.4915, allocations: 0.7551 MB / 0.5411 GB, free: 70.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.4917, allocations: 23.59 kB / 0.5411 GB, free: 70.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.4918, allocations: 69.14 kB / 0.5412 GB, free: 70.49 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4918, allocations: 0 / 0.5412 GB, free: 70.49 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.5174, allocations: 7.197 MB / 0.5482 GB, free: 67.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.5177, allocations: 135.5 kB / 0.5483 GB, free: 67.11 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.312, allocations: 0 / 0.5483 GB, free: 67.11 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)