Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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: translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008763/0.0008763, allocations: 171.9 kB / 16.8 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 240.8 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007577/0.0007577, allocations: 92.61 kB / 292 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04116/0.04116, allocations: 8.096 MB / 351.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 15.98 kB / 414.4 MB, free: 57.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07835/0.07873, allocations: 52.51 MB / 466.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3197/0.3985, allocations: 79.89 MB / 0.534 GB, free: 5.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.3988, allocations: 64.78 kB / 0.534 GB, free: 5.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01635/0.4151, allocations: 6.363 MB / 0.5402 GB, free: 376 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4152, allocations: 3.938 kB / 0.5402 GB, free: 372 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.4152, allocations: 0 / 0.5402 GB, free: 372 kB / 346.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.001348/0.4165, allocations: 0.5596 MB / 0.5408 GB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4166, allocations: 12.03 kB / 0.5408 GB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.4167, allocations: 16.75 kB / 0.5408 GB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.417, allocations: 229.1 kB / 0.541 GB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.417, allocations: 11.3 kB / 0.541 GB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.417, allocations: 12.12 kB / 0.5411 GB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.4173, allocations: 197.4 kB / 0.5412 GB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4174, allocations: 192 / 0.5412 GB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.4174, allocations: 7.875 kB / 0.5413 GB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4174, allocations: 8 kB / 0.5413 GB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.4176, allocations: 162.6 kB / 0.5414 GB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.4188, allocations: 0.7529 MB / 0.5421 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.4192, allocations: 206 kB / 0.5423 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.4193, allocations: 94.59 kB / 0.5424 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.4195, allocations: 89.08 kB / 0.5425 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.4195, allocations: 37.94 kB / 0.5426 GB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.4195, allocations: 0 / 0.5426 GB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001879/0.4214, allocations: 0.5903 MB / 0.5431 GB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.4215, allocations: 85.11 kB / 0.5432 GB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.4217, allocations: 169.5 kB / 0.5434 GB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.4217, allocations: 28.7 kB / 0.5434 GB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.4218, allocations: 117.6 kB / 0.5435 GB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.4218, allocations: 53.7 kB / 0.5436 GB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.4219, allocations: 3.438 kB / 0.5436 GB, free: 13.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.422, allocations: 328.8 kB / 0.5439 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.4221, allocations: 82.53 kB / 0.544 GB, free: 12.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.4223, allocations: 116.7 kB / 0.5441 GB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.4226, allocations: 183.8 kB / 0.5442 GB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4226, allocations: 4 kB / 0.5443 GB, free: 12.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009851/0.4236, allocations: 382.1 kB / 0.5446 GB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4236, allocations: 4 kB / 0.5446 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4236, allocations: 0 / 0.5446 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009309/0.4245, allocations: 175.3 kB / 0.5448 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.4247, allocations: 31.23 kB / 0.5448 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.427, allocations: 1.819 MB / 0.5466 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.4272, allocations: 19.75 kB / 0.5466 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.4272, allocations: 4 kB / 0.5466 GB, free: 10.62 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.4273, allocations: 132.9 kB / 0.5467 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.4274, allocations: 15.81 kB / 0.5468 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.4285, allocations: 384 kB / 0.5471 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4285, allocations: 8 kB / 0.5471 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4285, allocations: 3.984 kB / 0.5471 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4285, allocations: 0 / 0.5471 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.4288, allocations: 324.4 kB / 0.5474 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4288, allocations: 4 kB / 0.5475 GB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.4289, allocations: 23.92 kB / 0.5475 GB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008733/0.4298, allocations: 177.7 kB / 0.5476 GB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.4299, allocations: 15.05 kB / 0.5477 GB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.4321, allocations: 1.809 MB / 0.5494 GB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4321, allocations: 4 kB / 0.5494 GB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.4331, allocations: 450.8 kB / 0.5499 GB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.4332, allocations: 96.86 kB / 0.5499 GB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.4333, allocations: 0 / 0.5499 GB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.4334, allocations: 19.98 kB / 0.55 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4335, allocations: 7.984 kB / 0.55 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.4335, allocations: 11.98 kB / 0.55 GB, free: 7.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.4337, allocations: 136.2 kB / 0.5501 GB, free: 7.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4337, allocations: 4 kB / 0.5501 GB, free: 7.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003696/0.434, allocations: 60 kB / 0.5502 GB, free: 7.148 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001923/0.4342, allocations: 115.2 kB / 0.5503 GB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008155/0.4351, allocations: 379 kB / 0.5506 GB, free: 6.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4351, allocations: 0 / 0.5506 GB, free: 6.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.4356, allocations: 278.5 kB / 0.5509 GB, free: 6.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.436, allocations: 23.92 kB / 0.5509 GB, free: 6.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/0.4366, allocations: 421.7 kB / 0.5513 GB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.4369, allocations: 0.7167 MB / 0.552 GB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.437, allocations: 21.41 kB / 0.5521 GB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.4371, allocations: 23.44 kB / 0.5521 GB, free: 5.105 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4371, allocations: 0 / 0.5521 GB, free: 5.105 MB / 362.7 MB Notification: Performance of Templates: time 0.006915/0.444, allocations: 3.743 MB / 0.5557 GB, free: 1.379 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)