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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 177.6 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.399/1.399, allocations: 221.5 MB / 230 MB, free: 7.574 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.0009051/0.0009053, allocations: 89.66 kB / 280.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04469/0.04469, allocations: 8.095 MB / 339.7 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.083e-05, allocations: 3.281 kB / 398.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 52.52 MB / 451.1 MB, free: 5.312 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.2336, allocations: 78.54 MB / 0.5172 GB, free: 6.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/0.2338, allocations: 63.97 kB / 0.5173 GB, free: 6.605 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.2485, allocations: 5.728 MB / 0.5229 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2486, allocations: 0 / 0.5229 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.2486, allocations: 4 kB / 0.5229 GB, free: 0.8086 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009997/0.2496, allocations: 0.502 MB / 0.5234 GB, free: 264 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.2496, allocations: 17.08 kB / 0.5234 GB, free: 248 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.2497, allocations: 19.77 kB / 0.5234 GB, free: 228 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2038/0.4535, allocations: 223.7 kB / 0.5236 GB, free: 78.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4536, allocations: 5.469 kB / 0.5236 GB, free: 78.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.4536, allocations: 5.562 kB / 0.5236 GB, free: 78.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002595/0.4539, allocations: 149.5 kB / 0.5238 GB, free: 78.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.4541, allocations: 163.7 kB / 0.5239 GB, free: 78.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.4542, allocations: 0 / 0.5239 GB, free: 78.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.4542, allocations: 0 / 0.5239 GB, free: 78.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.4542, allocations: 3.391 kB / 0.5239 GB, free: 78.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.4552, allocations: 0.7057 MB / 0.5246 GB, free: 78.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.4557, allocations: 191.8 kB / 0.5248 GB, free: 78.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4558, allocations: 86.17 kB / 0.5249 GB, free: 78.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.4559, allocations: 81.89 kB / 0.525 GB, free: 77.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.4559, allocations: 38.22 kB / 0.525 GB, free: 77.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.4559, allocations: 0 / 0.525 GB, free: 77.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008844/0.4568, allocations: 307.1 kB / 0.5253 GB, free: 77.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.4569, allocations: 54.53 kB / 0.5253 GB, free: 77.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.457, allocations: 160.3 kB / 0.5255 GB, free: 77.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.457, allocations: 25.7 kB / 0.5255 GB, free: 77.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.4571, allocations: 116.8 kB / 0.5256 GB, free: 77.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.4571, allocations: 48.8 kB / 0.5257 GB, free: 77.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.4571, allocations: 0 / 0.5257 GB, free: 77.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.35e-05/0.4572, allocations: 331.8 kB / 0.526 GB, free: 77.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.4573, allocations: 76.16 kB / 0.5261 GB, free: 77.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.4574, allocations: 73.22 kB / 0.5261 GB, free: 77.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.4577, allocations: 103.8 kB / 0.5262 GB, free: 77.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4577, allocations: 2.688 kB / 0.5262 GB, free: 77.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00083/0.4585, allocations: 345.5 kB / 0.5266 GB, free: 77.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4585, allocations: 8.453 kB / 0.5266 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4586, allocations: 3.188 kB / 0.5266 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.4592, allocations: 135.1 kB / 0.5267 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.4593, allocations: 20.67 kB / 0.5267 GB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.461, allocations: 1.809 MB / 0.5285 GB, free: 75.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.4612, allocations: 12.34 kB / 0.5285 GB, free: 75.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.4612, allocations: 14.08 kB / 0.5285 GB, free: 75.98 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 (14): * Single equations (assignments): 13 * 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 7.335e-05/0.4613, allocations: 104.6 kB / 0.5286 GB, free: 75.88 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007975/0.4621, allocations: 307.8 kB / 0.5289 GB, free: 75.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.4622, allocations: 18.72 kB / 0.5289 GB, free: 75.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008835/0.4631, allocations: 347.3 kB / 0.5293 GB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4631, allocations: 3.375 kB / 0.5293 GB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.4631, allocations: 0.75 kB / 0.5293 GB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4631, allocations: 1.031 kB / 0.5293 GB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.4634, allocations: 284.5 kB / 0.5295 GB, free: 75.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.4634, allocations: 8.75 kB / 0.5295 GB, free: 75.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.4635, allocations: 19.73 kB / 0.5296 GB, free: 75.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005977/0.4641, allocations: 132.9 kB / 0.5297 GB, free: 75.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.4641, allocations: 1.062 kB / 0.5297 GB, free: 75.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.4663, allocations: 1.815 MB / 0.5315 GB, free: 74.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4663, allocations: 0.5625 kB / 0.5315 GB, free: 74.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.4674, allocations: 416.6 kB / 0.5319 GB, free: 74.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.4675, allocations: 94.09 kB / 0.5319 GB, free: 74.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.4675, allocations: 5.516 kB / 0.5319 GB, free: 74.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4677, allocations: 11.67 kB / 0.532 GB, free: 74.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.4678, allocations: 11.91 kB / 0.532 GB, free: 74.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.4678, allocations: 8.172 kB / 0.532 GB, free: 74.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.468, allocations: 126.8 kB / 0.5321 GB, free: 74.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.468, allocations: 3.062 kB / 0.5321 GB, free: 74.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000465/0.4685, allocations: 56.42 kB / 0.5322 GB, free: 74.03 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 (12): * Single equations (assignments): 11 * 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.00116/0.4696, allocations: 0.9597 MB / 0.5331 GB, free: 73.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006349/0.4703, allocations: 336.7 kB / 0.5334 GB, free: 73.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4703, allocations: 0 / 0.5334 GB, free: 73.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.4707, allocations: 242.9 kB / 0.5336 GB, free: 73.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.471, allocations: 15.7 kB / 0.5337 GB, free: 73.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.4716, allocations: 229.2 kB / 0.5339 GB, free: 72.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.4718, allocations: 0.7234 MB / 0.5346 GB, free: 72.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001/0.4719, allocations: 23.23 kB / 0.5346 GB, free: 72.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.955e-05/0.472, allocations: 46.05 kB / 0.5347 GB, free: 72.27 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.472, allocations: 0 / 0.5347 GB, free: 72.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.4995, allocations: 4.565 MB / 0.5391 GB, free: 72.03 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.4997, allocations: 128.1 kB / 0.5392 GB, free: 71.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.13, allocations: 0 / 0.5392 GB, free: 71.84 MB / 362.7 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)