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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.GeneratorTest2,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.GeneratorTest2,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001325/0.001325, allocations: 182 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.824/1.824, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001641/0.001641, allocations: 108.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1688/0.1688, allocations: 37.9 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.899e-05, allocations: 4 kB / 397.6 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2906, allocations: 53.22 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.4308, allocations: 92.81 MB / 0.5309 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.4312, allocations: 87.75 kB / 0.531 GB, free: 448 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3588/0.7901, allocations: 23.88 MB / 0.5543 GB, free: 75.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.7901, allocations: 4 kB / 0.5543 GB, free: 75.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.7902, allocations: 8 kB / 0.5543 GB, free: 75.02 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.001056/0.7912, allocations: 0.6755 MB / 0.555 GB, free: 74.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.7913, allocations: 12.02 kB / 0.555 GB, free: 74.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.7914, allocations: 78.53 kB / 0.5551 GB, free: 74.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.793, allocations: 219.2 kB / 0.5553 GB, free: 73.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.7936, allocations: 370.1 kB / 0.5557 GB, free: 73.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.7936, allocations: 33 kB / 0.5557 GB, free: 73.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/0.7937, allocations: 47.88 kB / 0.5557 GB, free: 73.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008337/0.7945, allocations: 0.6069 MB / 0.5563 GB, free: 72.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.7946, allocations: 0 / 0.5563 GB, free: 72.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.7946, allocations: 16 kB / 0.5563 GB, free: 72.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.7948, allocations: 48.95 kB / 0.5564 GB, free: 72.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/0.7955, allocations: 0.57 MB / 0.5569 GB, free: 72.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/0.7983, allocations: 2.269 MB / 0.5592 GB, free: 69.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.7989, allocations: 486.5 kB / 0.5596 GB, free: 69.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.7992, allocations: 229.7 kB / 0.5598 GB, free: 69.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.5e-05/0.7992, allocations: 4 kB / 0.5598 GB, free: 69.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.7992, allocations: 38.66 kB / 0.5599 GB, free: 69.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.516e-06/0.7993, allocations: 0 / 0.5599 GB, free: 69.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001961/0.8012, allocations: 1.239 MB / 0.5611 GB, free: 67.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.8013, allocations: 85.11 kB / 0.5612 GB, free: 67.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.8015, allocations: 243.4 kB / 0.5614 GB, free: 67.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.8015, allocations: 37.7 kB / 0.5614 GB, free: 67.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.8016, allocations: 232 kB / 0.5617 GB, free: 67.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/0.8017, allocations: 149.9 kB / 0.5618 GB, free: 66.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.8018, allocations: 8 kB / 0.5618 GB, free: 66.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.8018, allocations: 346.8 kB / 0.5621 GB, free: 66.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.802, allocations: 165.1 kB / 0.5623 GB, free: 66.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.8023, allocations: 282.3 kB / 0.5626 GB, free: 66.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.8026, allocations: 219.8 kB / 0.5628 GB, free: 65.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8026, allocations: 0 / 0.5628 GB, free: 65.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009645/0.8036, allocations: 0.6458 MB / 0.5634 GB, free: 65.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.8036, allocations: 4 kB / 0.5634 GB, free: 65.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.8036, allocations: 4 kB / 0.5634 GB, free: 65.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.8042, allocations: 170 kB / 0.5636 GB, free: 65.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.8045, allocations: 95.88 kB / 0.5637 GB, free: 65.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.8075, allocations: 2.506 MB / 0.5661 GB, free: 62.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.8078, allocations: 27.97 kB / 0.5661 GB, free: 62.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.8078, allocations: 20 kB / 0.5662 GB, free: 62.32 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.0001277/0.808, allocations: 128.9 kB / 0.5663 GB, free: 62.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/0.8081, allocations: 35.61 kB / 0.5663 GB, free: 62.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.8092, allocations: 0.6136 MB / 0.5669 GB, free: 61.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.8092, allocations: 8 kB / 0.5669 GB, free: 61.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.8092, allocations: 0 / 0.5669 GB, free: 61.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.8092, allocations: 0 / 0.5669 GB, free: 61.52 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.00184/0.8111, allocations: 1.336 MB / 0.5682 GB, free: 60.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8111, allocations: 0 / 0.5682 GB, free: 60.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.8114, allocations: 80 kB / 0.5683 GB, free: 60.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004003/0.8118, allocations: 132.7 kB / 0.5684 GB, free: 59.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.8119, allocations: 19.94 kB / 0.5685 GB, free: 59.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/0.8143, allocations: 2.311 MB / 0.5707 GB, free: 57.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8143, allocations: 4 kB / 0.5707 GB, free: 57.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.8155, allocations: 0.9574 MB / 0.5717 GB, free: 56.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.8156, allocations: 108.7 kB / 0.5718 GB, free: 56.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.8156, allocations: 12 kB / 0.5718 GB, free: 56.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.8159, allocations: 12.03 kB / 0.5718 GB, free: 56.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.8159, allocations: 31.95 kB / 0.5718 GB, free: 56.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.816, allocations: 16 kB / 0.5718 GB, free: 56.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001997/0.8162, allocations: 199.1 kB / 0.572 GB, free: 56.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8162, allocations: 0 / 0.572 GB, free: 56.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006587/0.8169, allocations: 151.9 kB / 0.5722 GB, free: 55.88 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.001502/0.8184, allocations: 1.705 MB / 0.5738 GB, free: 54.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.8197, allocations: 0.6468 MB / 0.5745 GB, free: 53.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8197, allocations: 0 / 0.5745 GB, free: 53.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.8203, allocations: 423.1 kB / 0.5749 GB, free: 53.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.8207, allocations: 52.53 kB / 0.5749 GB, free: 52.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.8226, allocations: 1.033 MB / 0.5759 GB, free: 51.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.823, allocations: 0.8754 MB / 0.5768 GB, free: 51.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.8232, allocations: 79.22 kB / 0.5768 GB, free: 50.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.8234, allocations: 143.4 kB / 0.577 GB, free: 50.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8235, allocations: 0 / 0.577 GB, free: 50.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.8458, allocations: 8.869 MB / 0.5856 GB, free: 41.92 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.846, allocations: 176.1 kB / 0.5858 GB, free: 41.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/3.19, allocations: 0 / 0.5858 GB, free: 41.7 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1)