Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.GenOrder3and7,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.GenOrder3and7,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.00159, allocations: 186.9 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 221.9 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 86.88 kB / 270.2 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2712/0.2712, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004616, allocations: 12 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 56.34 MB / 479.1 MB, free: 1.93 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.GenOrder3and7): time 0.02218/0.1314, allocations: 13.47 MB / 492.6 MB, free: 4.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02039/0.1518, allocations: 8.306 MB / 0.4892 GB, free: 12.09 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.1543, allocations: 91.38 kB / 0.4893 GB, free: 12 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03098/0.1854, allocations: 10.41 MB / 0.4994 GB, free: 1.57 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005143/0.1906, allocations: 1.098 MB / 0.5005 GB, free: 480 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003929/0.1945, allocations: 0.8377 MB / 0.5013 GB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004467/0.199, allocations: 1.796 MB / 0.5031 GB, free: 13.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004592/0.2037, allocations: 1.853 MB / 0.5049 GB, free: 11.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.2063, allocations: 0.9925 MB / 0.5059 GB, free: 10.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.2089, allocations: 1.102 MB / 0.5069 GB, free: 9.816 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005883/0.2095, allocations: 103.9 kB / 0.507 GB, free: 9.715 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.2117, allocations: 0.6592 MB / 0.5077 GB, free: 9.055 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.2133, allocations: 0.9585 MB / 0.5086 GB, free: 8.094 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009039/0.2142, allocations: 496.4 kB / 0.5091 GB, free: 7.602 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005268/0.2195, allocations: 3.117 MB / 0.5121 GB, free: 4.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2196, allocations: 0 / 0.5121 GB, free: 4.477 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2196, allocations: 0 / 0.5121 GB, free: 4.477 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.353e-05/0.2197, allocations: 0 / 0.5121 GB, free: 4.477 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: 520 * Number of variables: 520 Notification: Performance of Generate backend data structure: time 0.01021/0.2299, allocations: 2.688 MB / 0.5147 GB, free: 1.711 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.23, allocations: 12.03 kB / 0.5148 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009886/0.231, allocations: 291.2 kB / 0.515 GB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/0.2339, allocations: 404.5 kB / 0.5154 GB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3116/0.5456, allocations: 1.881 MB / 0.5173 GB, free: 51.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/0.5459, allocations: 150.8 kB / 0.5174 GB, free: 51.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.5472, allocations: 243.1 kB / 0.5176 GB, free: 51.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00886/0.5561, allocations: 2.748 MB / 0.5203 GB, free: 50.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/0.5562, allocations: 8.438 kB / 0.5203 GB, free: 50.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/0.5566, allocations: 82.88 kB / 0.5204 GB, free: 50.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007026/0.5573, allocations: 157.4 kB / 0.5206 GB, free: 50.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009003/0.5663, allocations: 2.508 MB / 0.523 GB, free: 49.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02618/0.5925, allocations: 8.799 MB / 0.5316 GB, free: 44.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005124/0.5977, allocations: 1.765 MB / 0.5333 GB, free: 43.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.598, allocations: 24.31 kB / 0.5333 GB, free: 43.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003788/0.6018, allocations: 1.431 MB / 0.5347 GB, free: 43.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=200): time 7.454e-06/0.6019, allocations: 0 / 0.5347 GB, free: 43.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=246): time 0.1071/0.709, allocations: 19.86 MB / 0.5541 GB, free: 25.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.7092, allocations: 406.9 kB / 0.5545 GB, free: 25.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/0.7125, allocations: 1.536 MB / 0.556 GB, free: 23.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005657/0.7131, allocations: 75.34 kB / 0.5561 GB, free: 23.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007822/0.7139, allocations: 0.8918 MB / 0.557 GB, free: 22.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.715, allocations: 0.8018 MB / 0.5578 GB, free: 21.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.7153, allocations: 48 kB / 0.5578 GB, free: 21.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.7155, allocations: 424.5 kB / 0.5582 GB, free: 21.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/0.7191, allocations: 1.348 MB / 0.5595 GB, free: 19.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004067/0.7232, allocations: 1.797 MB / 0.5613 GB, free: 18.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004403/0.7276, allocations: 1.582 MB / 0.5628 GB, free: 16.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/0.7277, allocations: 7.953 kB / 0.5628 GB, free: 16.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=354) (initialization): time 0.01673/0.7444, allocations: 5.308 MB / 0.568 GB, free: 10.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007294/0.7452, allocations: 3.693 MB / 0.5716 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01562/0.7609, allocations: 4.819 MB / 0.5763 GB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/0.7714, allocations: 1.984 MB / 0.5783 GB, free: 16 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006241/0.7777, allocations: 0.8739 MB / 0.5791 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0688/0.8465, allocations: 35.96 MB / 0.6142 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/0.85, allocations: 176 kB / 0.6144 GB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005675/0.8506, allocations: 95.98 kB / 0.6145 GB, free: 8.695 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.8507, allocations: 4 kB / 0.6145 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01914/0.8698, allocations: 5.098 MB / 0.6195 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01788/0.8878, allocations: 4.697 MB / 0.6241 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.8986, allocations: 1.931 MB / 0.6259 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/0.9015, allocations: 363.4 kB / 0.6263 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05871/0.9603, allocations: 29.7 MB / 0.6553 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/0.9628, allocations: 123.9 kB / 0.6554 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/0.9632, allocations: 93.47 kB / 0.6555 GB, free: 12.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 58 (system.initime,$whenCondition1,$PRE.relayGrd.cnt,relayGrd.cnt,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.switchGrd1.switch_a.arc,switchGrd1.switch_a.arc,$PRE.switchGrd1.switch_a.open,switchGrd1.switch_a.open,switchGrd1.switch_a.closed,$PRE.switchGrd1.switch_b.arc,switchGrd1.switch_b.arc,$PRE.switchGrd1.switch_b.open,switchGrd1.switch_b.open,switchGrd1.switch_b.closed,$PRE.switchGrd1.switch_c.arc,switchGrd1.switch_c.arc,$PRE.switchGrd1.switch_c.open,switchGrd1.switch_c.open,switchGrd1.switch_c.closed,$PRE.switchGrd2.switch_a.arc,switchGrd2.switch_a.arc,$PRE.switchGrd2.switch_a.open,switchGrd2.switch_a.open,switchGrd2.switch_a.closed,$PRE.switchGrd2.switch_b.arc,switchGrd2.switch_b.arc,$PRE.switchGrd2.switch_b.open,switchGrd2.switch_b.open,switchGrd2.switch_b.closed,$PRE.switchGrd2.switch_c.arc,switchGrd2.switch_c.arc,$PRE.switchGrd2.switch_c.open,switchGrd2.switch_c.open,switchGrd2.switch_c.closed,$PRE.relayGrd.y[1],relayGrd.y[1],$PRE.relayGrd.y[2],relayGrd.y[2],$PRE.relayGrd.y[3],relayGrd.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 225 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,2,1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(3,100.0%) 22,(1,100.0%) 2,(6,77.8%) 11,(1,100.0%) 3,(1,100.0%) 2,(2,100.0%) 1,(2,100.0%) 1,(6,77.8%) 11,(1,100.0%) 3} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002527/0.9658, allocations: 0.8646 MB / 0.6563 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008079/0.9666, allocations: 217.4 kB / 0.6566 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.9807, allocations: 4.062 MB / 0.6605 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.525e-05/0.9808, allocations: 36 kB / 0.6606 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/0.9808, allocations: 8 kB / 0.6606 GB, free: 7.438 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.17e-05/0.9809, allocations: 11.95 kB / 0.6606 GB, free: 7.426 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02473/1.006, allocations: 7.581 MB / 0.668 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-05/1.006, allocations: 192 / 0.668 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004764/1.011, allocations: 463.8 kB / 0.6684 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004415/1.015, allocations: 0.7999 MB / 0.6692 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005902/1.016, allocations: 79.95 kB / 0.6693 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0191/1.035, allocations: 8.773 MB / 0.6778 GB, free: 5.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/1.035, allocations: 11.94 kB / 0.6779 GB, free: 5.238 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0188/1.054, allocations: 6.048 MB / 0.6838 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/1.056, allocations: 0.5334 MB / 0.6843 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008139/1.057, allocations: 71.97 kB / 0.6844 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.06, allocations: 151.8 kB / 0.6845 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001013/1.061, allocations: 218.7 kB / 0.6847 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003084/1.061, allocations: 75.97 kB / 0.6848 GB, free: 13.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003134/1.064, allocations: 1.052 MB / 0.6858 GB, free: 12.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.064, allocations: 0 / 0.6858 GB, free: 12.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006833/1.071, allocations: 1.26 MB / 0.687 GB, free: 11.63 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 22 (turboGen1.generator.i_s[1],turboGen1.generator.i_s[2],turboGen1.generator.i_s[3],turboGen1.exciter.voltageReg.x_scaled[1],turboGen1.rotor.phi,turboGen1.rotor.w,line1.i[1],line1.i[2],line1.i[3],turboGen2.generator.i_s[1],turboGen2.generator.i_s[2],turboGen2.generator.i_s[3],turboGen2.generator.i_rd[1],turboGen2.generator.i_rd[2],turboGen2.generator.i_rq[1],turboGen2.generator.i_rq[2],turboGen2.exciter.voltageReg.x_scaled[1],turboGen2.rotor.phi,turboGen2.rotor.w,line2.i[1],line2.i[2],line2.i[3]) * Number of discrete variables: 42 (switchGrd1.switch_c.closed,switchGrd2.switch_c.closed,switchGrd1.switch_a.closed,switchGrd2.switch_a.closed,switchGrd1.switch_b.closed,switchGrd2.switch_b.closed,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,switchGrd1.switch_a.arc,switchGrd1.switch_a.open,switchGrd1.switch_b.arc,switchGrd1.switch_b.open,switchGrd1.switch_c.arc,switchGrd1.switch_c.open,switchGrd2.switch_a.arc,switchGrd2.switch_a.open,switchGrd2.switch_b.arc,switchGrd2.switch_b.open,switchGrd2.switch_c.arc,switchGrd2.switch_c.open,relayGrd.y[1],relayGrd.y[2],relayGrd.y[3],relayGrd.cnt,system.initime) * Number of discrete states: 11 (relayGrd.y[3],relayGrd.y[2],relayGrd.y[1],relayGrd.cnt,$whenCondition1,switchGrd1.switch_b.open,switchGrd2.switch_b.open,switchGrd1.switch_a.open,switchGrd2.switch_a.open,switchGrd1.switch_c.open,switchGrd2.switch_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 22,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02059/1.092, allocations: 7.613 MB / 0.6945 GB, free: 3.859 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.349/1.441, allocations: 10.49 MB / 0.7047 GB, free: 156.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.441, allocations: 4.5 kB / 0.7047 GB, free: 156.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007219/1.448, allocations: 2.401 MB / 0.7071 GB, free: 155.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/1.451, allocations: 383.6 kB / 0.7074 GB, free: 155.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/1.476, allocations: 15.5 MB / 0.7226 GB, free: 146.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003107/1.48, allocations: 2.016 MB / 0.7245 GB, free: 145.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002561/1.482, allocations: 0.9809 MB / 0.7255 GB, free: 144.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.593e-06/1.482, allocations: 0 / 0.7255 GB, free: 144.9 MB / 490.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7CalcHelperMain.cpp:26: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7AlgLoopMain.cpp:18: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Algloop1148.cpp:136:60: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_turboGen1_P_exciter_P_fieldVoltage_ = ((__HOM_LAMBDA_ * tmp282) + ((1.0 - __HOM_LAMBDA_) * _system->_$DER_P_turboGen1_P_exciter_P_limiter_P_u_)); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Algloop1148.cpp:136:94: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_turboGen1_P_exciter_P_fieldVoltage_ = ((__HOM_LAMBDA_ * tmp282) + ((1.0 - __HOM_LAMBDA_) * _system->_$DER_P_turboGen1_P_exciter_P_limiter_P_u_)); ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7CalcHelperMain.cpp:26: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7AlgLoopMain.cpp:66: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Algloop399.cpp:136:60: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_turboGen1_P_exciter_P_fieldVoltage_ = ((__HOM_LAMBDA_ * tmp313) + ((1.0 - __HOM_LAMBDA_) * _system->_$DER_P_turboGen1_P_exciter_P_limiter_P_u_)); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Algloop399.cpp:136:94: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_turboGen1_P_exciter_P_fieldVoltage_ = ((__HOM_LAMBDA_ * tmp313) + ((1.0 - __HOM_LAMBDA_) * _system->_$DER_P_turboGen1_P_exciter_P_limiter_P_u_)); ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Functions.cpp:217:19: error: use of undeclared identifier '_omcQ_24i1_' switch (_omcQ_24i1_) { /* ASUB */ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Functions.cpp:276:19: error: use of undeclared identifier '_omcQ_24i1_' switch (_omcQ_24i1_) { /* ASUB */ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Functions.cpp:373:19: error: use of undeclared identifier '_omcQ_24i1_' switch (_omcQ_24i1_) { /* ASUB */ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Functions.cpp:432:19: error: use of undeclared identifier '_omcQ_24i1_' switch (_omcQ_24i1_) { /* ASUB */ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7CalcHelperMain.cpp:32: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Jacobian.cpp:798:27: error: use of undeclared identifier '__HOM_LAMBDA_' _LSJac15jac_tmp(15) = ((__HOM_LAMBDA_ * tmp239) + ((1.0 - __HOM_LAMBDA_) * _LSJac15jac_tmp(14))); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Jacobian.cpp:798:61: error: use of undeclared identifier '__HOM_LAMBDA_' _LSJac15jac_tmp(15) = ((__HOM_LAMBDA_ * tmp239) + ((1.0 - __HOM_LAMBDA_) * _LSJac15jac_tmp(14))); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Jacobian.cpp:1390:27: error: use of undeclared identifier '__HOM_LAMBDA_' _LSJac29jac_tmp(15) = ((__HOM_LAMBDA_ * tmp263) + ((1.0 - __HOM_LAMBDA_) * _LSJac29jac_tmp(14))); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Jacobian.cpp:1390:61: error: use of undeclared identifier '__HOM_LAMBDA_' _LSJac29jac_tmp(15) = ((__HOM_LAMBDA_ * tmp263) + ((1.0 - __HOM_LAMBDA_) * _LSJac29jac_tmp(14))); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Jacobian.cpp:1546:27: error: use of undeclared identifier '__HOM_LAMBDA_' _LSJac32jac_tmp(15) = ((__HOM_LAMBDA_ * tmp273) + ((1.0 - __HOM_LAMBDA_) * _LSJac32jac_tmp(14))); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Jacobian.cpp:1546:61: error: use of undeclared identifier '__HOM_LAMBDA_' _LSJac32jac_tmp(15) = ((__HOM_LAMBDA_ * tmp273) + ((1.0 - __HOM_LAMBDA_) * _LSJac32jac_tmp(14))); ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7CalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7FMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 14 errors generated. : recipe for target 'OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7CalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7CalcHelperMain.o] Error 1