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.0009618/0.0009619, allocations: 174.5 kB / 16.07 MB, free: 5.723 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.242/1.242, allocations: 205.4 MB / 222.2 MB, free: 9.023 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.0007735/0.0007735, allocations: 82.36 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1602/0.1602, allocations: 38.08 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 12 kB / 423.4 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2505, allocations: 56.33 MB / 479.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.GenOrder3and7): time 0.01345/0.264, allocations: 14.27 MB / 494 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.2778, allocations: 8.391 MB / 0.4906 GB, free: 9.293 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/0.2806, allocations: 93.12 kB / 0.4907 GB, free: 9.254 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1029/0.3835, allocations: 73.57 MB / 0.5626 GB, free: 5.961 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.3881, allocations: 1.419 MB / 0.5639 GB, free: 4.535 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.391, allocations: 0.8596 MB / 0.5648 GB, free: 3.68 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01664/0.4077, allocations: 13.11 MB / 0.5776 GB, free: 6.547 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003408/0.4111, allocations: 2.112 MB / 0.5796 GB, free: 4.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02521/0.4363, allocations: 19.04 MB / 0.5982 GB, free: 1.285 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.4388, allocations: 1.604 MB / 0.5998 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005666/0.4394, allocations: 100 kB / 0.5999 GB, free: 15.58 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.4411, allocations: 0.6981 MB / 0.6006 GB, free: 14.88 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.4422, allocations: 1.052 MB / 0.6016 GB, free: 13.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.4434, allocations: 1.164 MB / 0.6028 GB, free: 12.65 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.4461, allocations: 3.102 MB / 0.6058 GB, free: 9.539 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4461, allocations: 4 kB / 0.6058 GB, free: 9.535 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4461, allocations: 0 / 0.6058 GB, free: 9.535 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.454e-05/0.4462, allocations: 7.938 kB / 0.6058 GB, free: 9.527 MB / 442.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.005111/0.4513, allocations: 2.653 MB / 0.6084 GB, free: 6.801 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4514, allocations: 19.97 kB / 0.6084 GB, free: 6.781 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003516/0.4517, allocations: 299.3 kB / 0.6087 GB, free: 6.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.4532, allocations: 389.5 kB / 0.6091 GB, free: 6.098 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/0.4566, allocations: 1.957 MB / 0.611 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.4567, allocations: 151.6 kB / 0.6111 GB, free: 3.938 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/0.4572, allocations: 235.8 kB / 0.6113 GB, free: 3.707 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003999/0.4612, allocations: 2.763 MB / 0.614 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.925e-05/0.4612, allocations: 7.906 kB / 0.614 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.4614, allocations: 83.97 kB / 0.6141 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00035/0.4618, allocations: 155.5 kB / 0.6143 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003799/0.4656, allocations: 2.509 MB / 0.6167 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.4781, allocations: 8.789 MB / 0.6253 GB, free: 5.074 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.4806, allocations: 1.733 MB / 0.627 GB, free: 3.305 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/0.4824, allocations: 1.253 MB / 0.6282 GB, free: 2.039 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.314e-05/0.4825, allocations: 21.3 kB / 0.6282 GB, free: 2.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001948/0.4844, allocations: 1.439 MB / 0.6296 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of pre-optimization done (n=200): time 3.717e-06/0.4845, allocations: 0 / 0.6296 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of matching and sorting (n=247): time 0.2297/0.7141, allocations: 19.56 MB / 0.6487 GB, free: 158 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.7143, allocations: 409.7 kB / 0.6491 GB, free: 157.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.7176, allocations: 1.54 MB / 0.6506 GB, free: 157 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004446/0.7181, allocations: 72.14 kB / 0.6507 GB, free: 157 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008353/0.7189, allocations: 0.9433 MB / 0.6516 GB, free: 156.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009378/0.7199, allocations: 0.8063 MB / 0.6524 GB, free: 155.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.7201, allocations: 51.17 kB / 0.6525 GB, free: 155.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.7203, allocations: 416.9 kB / 0.6529 GB, free: 155.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/0.7228, allocations: 1.357 MB / 0.6542 GB, free: 154.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002648/0.7255, allocations: 1.806 MB / 0.656 GB, free: 153.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004908/0.7304, allocations: 3.222 MB / 0.6591 GB, free: 152.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-05/0.7304, allocations: 3.219 kB / 0.6591 GB, free: 152.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01103/0.7415, allocations: 5.436 MB / 0.6644 GB, free: 150.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.7417, allocations: 414.6 kB / 0.6648 GB, free: 149.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009112/0.7508, allocations: 4.842 MB / 0.6695 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00544/0.7563, allocations: 1.976 MB / 0.6715 GB, free: 147.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.7592, allocations: 0.8793 MB / 0.6723 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02891/0.7881, allocations: 35.29 MB / 0.7068 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.7902, allocations: 191.8 kB / 0.707 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/0.7905, allocations: 88 kB / 0.7071 GB, free: 111 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.7905, allocations: 4 kB / 0.7071 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008251/0.7988, allocations: 5.111 MB / 0.7121 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007479/0.8063, allocations: 4.713 MB / 0.7167 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005221/0.8115, allocations: 1.985 MB / 0.7186 GB, free: 98.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.8129, allocations: 375.4 kB / 0.719 GB, free: 98.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/0.837, allocations: 29.12 MB / 0.7474 GB, free: 67.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.839, allocations: 159.8 kB / 0.7475 GB, free: 67.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.8392, allocations: 100.9 kB / 0.7476 GB, free: 67.46 MB / 474.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 (245): * Single equations (assignments): 224 * 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%) 23,(1,100.0%) 2,(6,77.8%) 11,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(6,77.8%) 12,(1,100.0%) 3} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001226/0.8405, allocations: 0.8477 MB / 0.7485 GB, free: 66.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003773/0.8408, allocations: 221.3 kB / 0.7487 GB, free: 66.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005964/0.8468, allocations: 4.074 MB / 0.7527 GB, free: 62.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-05/0.8469, allocations: 32 kB / 0.7527 GB, free: 62.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.8469, allocations: 9.859 kB / 0.7527 GB, free: 62.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.8469, allocations: 16.14 kB / 0.7527 GB, free: 62.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.8571, allocations: 7.606 MB / 0.7601 GB, free: 54.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.8571, allocations: 7.938 kB / 0.7601 GB, free: 54.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002333/0.8595, allocations: 459.8 kB / 0.7606 GB, free: 54.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00246/0.8619, allocations: 0.7717 MB / 0.7613 GB, free: 53.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002706/0.8622, allocations: 80.81 kB / 0.7614 GB, free: 53.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007872/0.8701, allocations: 8.598 MB / 0.7698 GB, free: 44.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.8701, allocations: 7.938 kB / 0.7698 GB, free: 44.17 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007845/0.878, allocations: 5.874 MB / 0.7756 GB, free: 38.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008861/0.8789, allocations: 0.5336 MB / 0.7761 GB, free: 37.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/0.8792, allocations: 80.7 kB / 0.7762 GB, free: 37.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.8804, allocations: 147.8 kB / 0.7763 GB, free: 37.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005376/0.881, allocations: 213.6 kB / 0.7765 GB, free: 37.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.8812, allocations: 77.06 kB / 0.7766 GB, free: 37.13 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001317/0.8825, allocations: 1.056 MB / 0.7776 GB, free: 36.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8825, allocations: 0 / 0.7776 GB, free: 36.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003151/0.8857, allocations: 1.284 MB / 0.7789 GB, free: 34.8 MB / 474.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_b.closed,switchGrd2.switch_b.closed,switchGrd1.switch_a.closed,switchGrd2.switch_a.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_a.open,switchGrd2.switch_a.open,switchGrd1.switch_b.open,switchGrd2.switch_b.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%) 23,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007909/0.8936, allocations: 6.571 MB / 0.7853 GB, free: 28.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01406/0.9077, allocations: 10.46 MB / 0.7955 GB, free: 17.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.9077, allocations: 0.625 kB / 0.7955 GB, free: 17.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003058/0.9108, allocations: 2.391 MB / 0.7978 GB, free: 14.85 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/0.9132, allocations: 419 kB / 0.7982 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03123/0.9445, allocations: 21.36 MB / 0.8191 GB, free: 7.973 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.9463, allocations: 1.964 MB / 0.821 GB, free: 5.973 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/0.9479, allocations: 0.9835 MB / 0.822 GB, free: 4.988 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.9479, allocations: 0 / 0.822 GB, free: 4.988 MB / 490.7 MB Error: Error building simulator. Build log: clang++ -std=c++14 -Winvalid-pch -O2 -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/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:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7FMU.cpp:11: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:37: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.h:44: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2GlobalSettings.h:65:56: warning: returning reference to local temporary object [-Wreturn-stack-address] virtual const string& getVariableFilter() { return "";} ^~ 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) { ^ 2 warnings generated. clang++ -std=c++14 -shared -o PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7.so OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7CalcHelperMain.o -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Examples/AC3ph" -lOMCppSystem_static -lOMCppMath_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppSolver_static -lOMCppExtensionUtilities_static -lOMCppModelicaUtilities_static -lOMCppDgesv_static -static-libstdc++ -static-libgcc /usr/bin/ld: OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dgetri(BaseArray const&, BaseArray const&, Modelica_Math_Matrices_LAPACK_dgetriType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7/./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7Functions.cpp:141: undefined reference to `dgetri_' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7_FMU.makefile:95: PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_GenOrder3and7.fmu] Error 1