Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG.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.Transmission.DoubleLineTG,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleLineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleLineTG",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.0009243/0.0009244, allocations: 173.2 kB / 16.07 MB, free: 5.715 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.285/1.285, 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.0007158/0.0007157, allocations: 78.41 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1705/0.1705, allocations: 38.08 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 8 kB / 423.4 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2604, allocations: 56.33 MB / 479.7 MB, free: 9.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleLineTG): time 0.01262/0.2731, allocations: 14.13 MB / 493.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01497/0.2881, allocations: 8.396 MB / 0.4905 GB, free: 9.445 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00314/0.2913, allocations: 82.19 kB / 0.4906 GB, free: 9.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1256/0.4169, allocations: 92.69 MB / 0.5811 GB, free: 2.965 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.4219, allocations: 1.56 MB / 0.5826 GB, free: 1.398 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003726/0.4257, allocations: 1.111 MB / 0.5837 GB, free: 296 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02103/0.4467, allocations: 16 MB / 0.5993 GB, free: 260 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004206/0.451, allocations: 2.009 MB / 0.6013 GB, free: 14.17 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03561/0.4866, allocations: 23.99 MB / 0.6247 GB, free: 6.145 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003881/0.4906, allocations: 2.135 MB / 0.6268 GB, free: 4.004 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008933/0.4915, allocations: 116 kB / 0.6269 GB, free: 3.891 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.4942, allocations: 0.9437 MB / 0.6278 GB, free: 2.945 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001943/0.4962, allocations: 1.344 MB / 0.6292 GB, free: 1.598 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002146/0.4984, allocations: 1.335 MB / 0.6305 GB, free: 256 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.5025, allocations: 3.277 MB / 0.6337 GB, free: 12.96 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.5026, allocations: 4 kB / 0.6337 GB, free: 12.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5026, allocations: 0 / 0.6337 GB, free: 12.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001268/0.5027, allocations: 0 / 0.6337 GB, free: 12.96 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 613 * Number of variables: 613 Notification: Performance of Generate backend data structure: time 0.006839/0.5096, allocations: 2.898 MB / 0.6365 GB, free: 9.973 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.5096, allocations: 12.03 kB / 0.6365 GB, free: 9.961 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007053/0.5104, allocations: 337.7 kB / 0.6368 GB, free: 9.621 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/0.5132, allocations: 0.5204 MB / 0.6373 GB, free: 9.098 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004382/0.5176, allocations: 1.949 MB / 0.6392 GB, free: 7.094 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.5177, allocations: 163.9 kB / 0.6394 GB, free: 6.934 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/0.5188, allocations: 415.4 kB / 0.6398 GB, free: 6.527 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005832/0.5246, allocations: 3.605 MB / 0.6433 GB, free: 2.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/0.5247, allocations: 7.938 kB / 0.6433 GB, free: 2.762 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.5249, allocations: 87.97 kB / 0.6434 GB, free: 2.676 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001383/0.5263, allocations: 291.9 kB / 0.6437 GB, free: 2.387 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1904/0.7167, allocations: 3.179 MB / 0.6468 GB, free: 160.5 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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 preOpt removeSimpleEquations (simulation): time 0.02056/0.7373, allocations: 13.15 MB / 0.6596 GB, free: 153.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/0.7418, allocations: 2.958 MB / 0.6625 GB, free: 151.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002965/0.7448, allocations: 1.919 MB / 0.6644 GB, free: 151.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.745, allocations: 32.09 kB / 0.6644 GB, free: 151.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003024/0.748, allocations: 2.168 MB / 0.6665 GB, free: 150.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=285): time 5.029e-06/0.748, allocations: 0 / 0.6665 GB, free: 150.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=300): time 0.02205/0.7701, allocations: 13.17 MB / 0.6794 GB, free: 141.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.7702, allocations: 419.5 kB / 0.6798 GB, free: 141.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.7717, allocations: 1.548 MB / 0.6813 GB, free: 139.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002767/0.772, allocations: 87.78 kB / 0.6814 GB, free: 139.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/0.7725, allocations: 1.045 MB / 0.6824 GB, free: 138.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006782/0.7732, allocations: 1.023 MB / 0.6834 GB, free: 137.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.7734, allocations: 64 kB / 0.6835 GB, free: 137.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.7736, allocations: 457.8 kB / 0.6839 GB, free: 137.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.7757, allocations: 1.799 MB / 0.6857 GB, free: 135.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.7781, allocations: 2.511 MB / 0.6881 GB, free: 132.7 MB / 474.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02531/0.8035, allocations: 13.38 MB / 0.7012 GB, free: 118.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.8035, allocations: 4 kB / 0.7012 GB, free: 118.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01407/0.8176, allocations: 8.119 MB / 0.7091 GB, free: 110.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003053/0.8179, allocations: 0.677 MB / 0.7098 GB, free: 109.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01254/0.8305, allocations: 7.083 MB / 0.7167 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008885/0.8394, allocations: 3.454 MB / 0.7201 GB, free: 99.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.8422, allocations: 0.7099 MB / 0.7208 GB, free: 98.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03678/0.879, allocations: 30.35 MB / 0.7504 GB, free: 67.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/0.8817, allocations: 205.3 kB / 0.7506 GB, free: 66.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006364/0.8823, allocations: 135.9 kB / 0.7507 GB, free: 66.78 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.8823, allocations: 6.031 kB / 0.7507 GB, free: 66.77 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01577/0.8981, allocations: 7.833 MB / 0.7584 GB, free: 58.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01446/0.9126, allocations: 7.027 MB / 0.7652 GB, free: 51.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00897/0.9216, allocations: 3.456 MB / 0.7686 GB, free: 48.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.9237, allocations: 459.2 kB / 0.7691 GB, free: 47.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03567/0.9594, allocations: 27.34 MB / 0.7958 GB, free: 19.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/0.9621, allocations: 188.7 kB / 0.7959 GB, free: 19.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006254/0.9627, allocations: 134.7 kB / 0.7961 GB, free: 19.51 MB / 474.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: atan2(turbGen.term.v[2], turbGen.term.v[1]) = turbGen.alpha_start sqrt(turbGen.term.v[1] ^ 2.0 + turbGen.term.v[2] ^ 2.0) = 20000.0 * turbGen.v_start InfBus.V = 400000.0 * InfBus.v0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 86 (system.initime,$PRE.abc.fault_pp1.t0,abc.fault_pp1.t0,$PRE.abc.fault_pp2.t0,abc.fault_pp2.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,trafo.tap_2_internal,trafo.tap_1_internal,$PRE.switch2.switch_c.open,$PRE.switch2.switch_b.open,$PRE.switch2.switch_a.open,$PRE.switch1.switch_c.open,$PRE.switch1.switch_b.open,$PRE.switch1.switch_a.open,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.switch1.switch_a.arc,switch1.switch_a.arc,switch1.switch_a.open,switch1.switch_a.closed,$PRE.switch1.switch_b.arc,switch1.switch_b.arc,switch1.switch_b.open,switch1.switch_b.closed,$PRE.switch1.switch_c.arc,switch1.switch_c.arc,switch1.switch_c.open,switch1.switch_c.closed,$PRE.switch2.switch_a.arc,switch2.switch_a.arc,switch2.switch_a.open,switch2.switch_a.closed,$PRE.switch2.switch_b.arc,switch2.switch_b.arc,switch2.switch_b.open,switch2.switch_b.closed,$PRE.switch2.switch_c.arc,switch2.switch_c.arc,switch2.switch_c.open,switch2.switch_c.closed,$PRE.abc.theta_zero,abc.theta_zero,$PRE.abc.v_pos,abc.v_pos,$PRE.abc.first,abc.first,$PRE.abc.fault_pp1.on,abc.fault_pp1.on,$PRE.abc.fault_pp2.on,abc.fault_pp2.on,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay1.y[3],relay1.y[3],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.relay2.y[3],relay2.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (293): * Single equations (assignments): 281 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(32,28.7%) 76,(21,14.5%) 12} * Non-linear torn systems: 1 {5 9} Notification: Performance of prepare postOptimizeDAE: time 0.001957/0.9647, allocations: 1.006 MB / 0.797 GB, free: 18.49 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006848/0.9654, allocations: 245.1 kB / 0.7973 GB, free: 18.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007035/0.9724, allocations: 4.456 MB / 0.8016 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.035e-05/0.9725, allocations: 43.98 kB / 0.8017 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.006e-05/0.9726, allocations: 8 kB / 0.8017 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/0.9726, allocations: 11.95 kB / 0.8017 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/0.9867, allocations: 8.43 MB / 0.8099 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.9868, allocations: 8.094 kB / 0.8099 GB, free: 5.082 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003509/0.9903, allocations: 0.6906 MB / 0.8106 GB, free: 4.391 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.9913, allocations: 433.8 kB / 0.811 GB, free: 3.957 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004034/0.9918, allocations: 111.9 kB / 0.8111 GB, free: 3.848 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005792/0.9976, allocations: 6.486 MB / 0.8175 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.9976, allocations: 4 kB / 0.8175 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/1.008, allocations: 6.242 MB / 0.8236 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/1.01, allocations: 0.6073 MB / 0.8241 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007284/1.01, allocations: 115.9 kB / 0.8243 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.012, allocations: 159.8 kB / 0.8244 GB, free: 5.621 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007289/1.013, allocations: 233.5 kB / 0.8246 GB, free: 5.391 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/1.013, allocations: 95.7 kB / 0.8247 GB, free: 5.301 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001734/1.015, allocations: 1.011 MB / 0.8257 GB, free: 4.293 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.015, allocations: 4 kB / 0.8257 GB, free: 4.289 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005771/1.021, allocations: 1.669 MB / 0.8273 GB, free: 2.625 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 51 (turbGen.generator.i_s[1],turbGen.generator.i_s[2],turbGen.generator.i_rd[1],turbGen.generator.i_rd[2],turbGen.generator.i_rq[1],turbGen.generator.i_rq[2],turbGen.rotor.phi,turbGen.rotor.w,trafo.i1[3],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],lineF.v[1,1],lineF.v[1,2],lineF.v[1,3],lineF.v[2,1],lineF.v[2,2],lineF.v[2,3],lineF.v[3,1],lineF.v[3,2],lineF.v[3,3],lineF.i[1,1],lineF.i[1,2],lineF.i[1,3],lineF.i[1,4],lineF.i[2,1],lineF.i[2,2],lineF.i[2,3],lineF.i[2,4],lineF.i[3,1],lineF.i[3,2],lineF.i[3,3],lineF.i[3,4],lineF.iF[1],lineF.iF[2],lineF.iF[3]) * Number of discrete variables: 57 (switch1.switch_b.closed,switch1.switch_a.closed,switch1.switch_c.closed,switch2.switch_a.closed,switch2.switch_c.closed,switch2.switch_b.closed,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,switch1.switch_a.arc,switch1.switch_a.open,switch1.switch_b.arc,switch1.switch_b.open,switch1.switch_c.arc,switch1.switch_c.open,switch2.switch_a.arc,switch2.switch_a.open,switch2.switch_b.arc,switch2.switch_b.open,switch2.switch_c.arc,switch2.switch_c.open,abc.theta_zero,abc.v_pos,abc.first,abc.fault_pp1.on,abc.fault_pp1.t0,abc.fault_pp2.on,abc.fault_pp2.t0,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,system.initime) * Number of discrete states: 21 (abc.theta_zero,abc.fault_pp1.on,abc.fault_pp2.on,abc.v_pos,abc.first,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,switch2.switch_b.open,switch2.switch_c.open,switch2.switch_a.open,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch1.switch_c.open,switch1.switch_a.open,switch1.switch_b.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 232 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 11 * 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 {(1,100.0%) 2,(5,72.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1882/1.209, allocations: 6.989 MB / 0.8342 GB, free: 157.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0216/1.231, allocations: 11.37 MB / 0.8453 GB, free: 154.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/1.231, allocations: 0 / 0.8453 GB, free: 154.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005336/1.236, allocations: 2.774 MB / 0.848 GB, free: 153.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/1.24, allocations: 455.3 kB / 0.8484 GB, free: 153.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04988/1.29, allocations: 29.26 MB / 0.877 GB, free: 135.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/1.292, allocations: 2.259 MB / 0.8792 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/1.294, allocations: 1.163 MB / 0.8803 GB, free: 131.7 MB / 490.7 MB Notification: Performance of SimCode: time 8.62e-07/1.294, allocations: 0 / 0.8803 GB, free: 131.7 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_Transmission_DoubleLineTGCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleLineTGCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleLineTGCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleLineTGFMU.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_Transmission_DoubleLineTGCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleLineTGFMU.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_Transmission_DoubleLineTG.so OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleLineTGCalcHelperMain.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_Transmission_DoubleLineTGCalcHelperMain.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.Transmission.DoubleLineTG/./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleLineTGFunctions.cpp:136: undefined reference to `dgetri_' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleLineTG_FMU.makefile:95: PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleLineTG.fmu] Error 1