Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001688/0.001688, allocations: 181.9 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.803/1.803, allocations: 194.3 MB / 208.4 MB, free: 6.699 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00174/0.00174, allocations: 112.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1966/0.1966, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 6.895e-05/6.915e-05, allocations: 4 kB / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3156, allocations: 53.21 MB / 450.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.4546, allocations: 92.82 MB / 0.5308 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.4549, allocations: 83.95 kB / 0.5309 GB, free: 468 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3532/0.8081, allocations: 23.91 MB / 0.5542 GB, free: 74.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.8081, allocations: 0 / 0.5542 GB, free: 74.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.787e-05/0.8082, allocations: 12 kB / 0.5543 GB, free: 74.97 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00123/0.8094, allocations: 0.6629 MB / 0.5549 GB, free: 74.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.8095, allocations: 12.03 kB / 0.5549 GB, free: 74.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.8112, allocations: 215.1 kB / 0.5551 GB, free: 74.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.8119, allocations: 368.5 kB / 0.5555 GB, free: 73.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.812, allocations: 32.98 kB / 0.5555 GB, free: 73.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-05/0.8121, allocations: 51.94 kB / 0.5556 GB, free: 73.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.8131, allocations: 0.599 MB / 0.5561 GB, free: 72.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.8132, allocations: 4 kB / 0.5561 GB, free: 72.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.8132, allocations: 19.98 kB / 0.5562 GB, free: 72.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.8134, allocations: 44.97 kB / 0.5562 GB, free: 72.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/0.8143, allocations: 0.5778 MB / 0.5568 GB, free: 72.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003265/0.8176, allocations: 2.261 MB / 0.559 GB, free: 69.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.8183, allocations: 486.5 kB / 0.5594 GB, free: 69.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.8185, allocations: 225.7 kB / 0.5597 GB, free: 69.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.8186, allocations: 7.984 kB / 0.5597 GB, free: 69.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.8186, allocations: 38.56 kB / 0.5597 GB, free: 69.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.318e-06/0.8186, allocations: 0 / 0.5597 GB, free: 69.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002049/0.8207, allocations: 1.239 MB / 0.5609 GB, free: 67.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.8207, allocations: 81.11 kB / 0.561 GB, free: 67.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.821, allocations: 251.4 kB / 0.5612 GB, free: 67.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.821, allocations: 29.7 kB / 0.5613 GB, free: 67.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.8211, allocations: 228 kB / 0.5615 GB, free: 67.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.466e-05/0.8212, allocations: 149.8 kB / 0.5616 GB, free: 67.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.8213, allocations: 16.03 kB / 0.5616 GB, free: 67.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.8214, allocations: 350.8 kB / 0.562 GB, free: 66.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.8216, allocations: 165.1 kB / 0.5621 GB, free: 66.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.8219, allocations: 286.4 kB / 0.5624 GB, free: 66.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.8222, allocations: 207.8 kB / 0.5626 GB, free: 66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8222, allocations: 0 / 0.5626 GB, free: 66 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009625/0.8231, allocations: 0.6498 MB / 0.5632 GB, free: 65.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.8232, allocations: 8 kB / 0.5632 GB, free: 65.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.8232, allocations: 4 kB / 0.5632 GB, free: 65.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.8237, allocations: 166 kB / 0.5634 GB, free: 65.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.8241, allocations: 95.88 kB / 0.5635 GB, free: 65.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.8268, allocations: 2.505 MB / 0.5659 GB, free: 62.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.8272, allocations: 23.98 kB / 0.566 GB, free: 62.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.8272, allocations: 19.98 kB / 0.566 GB, free: 62.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {4 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.8274, allocations: 128.9 kB / 0.5661 GB, free: 62.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.8274, allocations: 35.62 kB / 0.5661 GB, free: 62.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.8285, allocations: 0.6097 MB / 0.5667 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.8285, allocations: 4 kB / 0.5667 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.8286, allocations: 0 / 0.5667 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.8286, allocations: 7.984 kB / 0.5667 GB, free: 61.59 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.8306, allocations: 1.336 MB / 0.568 GB, free: 60.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.8306, allocations: 4 kB / 0.5681 GB, free: 60.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.8309, allocations: 79.89 kB / 0.5681 GB, free: 60.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/0.8314, allocations: 128.8 kB / 0.5683 GB, free: 59.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.8314, allocations: 15.94 kB / 0.5683 GB, free: 59.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.8339, allocations: 2.315 MB / 0.5705 GB, free: 57.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.8339, allocations: 4 kB / 0.5705 GB, free: 57.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.8352, allocations: 0.9536 MB / 0.5715 GB, free: 56.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.8354, allocations: 108.8 kB / 0.5716 GB, free: 56.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.8354, allocations: 11.95 kB / 0.5716 GB, free: 56.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.8356, allocations: 15.98 kB / 0.5716 GB, free: 56.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.8357, allocations: 31.95 kB / 0.5716 GB, free: 56.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.8358, allocations: 12 kB / 0.5716 GB, free: 56.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000211/0.836, allocations: 195.1 kB / 0.5718 GB, free: 56.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.836, allocations: 4 kB / 0.5718 GB, free: 56.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007473/0.8367, allocations: 151.9 kB / 0.572 GB, free: 55.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001927/0.8369, allocations: 115.2 kB / 0.5721 GB, free: 55.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.8381, allocations: 0.6422 MB / 0.5727 GB, free: 55.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8381, allocations: 0 / 0.5727 GB, free: 55.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006125/0.8387, allocations: 415.9 kB / 0.5731 GB, free: 54.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.8392, allocations: 63.88 kB / 0.5732 GB, free: 54.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.841, allocations: 0.8991 MB / 0.574 GB, free: 53.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.8415, allocations: 0.8872 MB / 0.5749 GB, free: 52.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.8417, allocations: 75.22 kB / 0.575 GB, free: 52.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.8418, allocations: 35.42 kB / 0.575 GB, free: 52.75 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.8418, allocations: 0 / 0.575 GB, free: 52.75 MB / 378.7 MB Notification: Performance of Templates: time 0.009691/0.8515, allocations: 5.102 MB / 0.58 GB, free: 47.65 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1)