Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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) 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(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",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.001595/0.001595, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001143/0.001143, allocations: 98.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003768, allocations: 8 kB / 327.1 MB, free: 14.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1248, allocations: 47.58 MB / 374.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01101/0.1359, allocations: 4.735 MB / 379.4 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006624/0.1426, allocations: 2.063 MB / 381.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.1438, allocations: 27.88 kB / 381.5 MB, free: 8.469 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.1458, allocations: 318.3 kB / 381.8 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.1488, allocations: 462.6 kB / 382.2 MB, free: 7.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009877/0.1498, allocations: 147.8 kB / 382.4 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004124/0.154, allocations: 1.454 MB / 383.8 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003702/0.1577, allocations: 1.326 MB / 385.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.16, allocations: 0.7124 MB / 385.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.1628, allocations: 0.8677 MB / 386.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000759/0.1636, allocations: 128 kB / 386.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.1651, allocations: 191.8 kB / 387 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.1663, allocations: 0.4907 MB / 387.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.1674, allocations: 436.7 kB / 388 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2751/0.4425, allocations: 3.076 MB / 391 MB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4426, allocations: 0 / 391 MB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4426, allocations: 0 / 391 MB, free: 11.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000129/0.4428, allocations: 0 / 391 MB, free: 11.55 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.007747/0.4505, allocations: 2.023 MB / 393.1 MB, free: 10.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.4506, allocations: 9.344 kB / 393.1 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001445/0.4521, allocations: 275 kB / 393.3 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.4538, allocations: 250.9 kB / 393.6 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/0.4577, allocations: 1.196 MB / 394.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.458, allocations: 135.6 kB / 394.9 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009065/0.4589, allocations: 172 kB / 395.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009429/0.4684, allocations: 2.524 MB / 397.6 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.499e-05/0.4685, allocations: 0 / 397.6 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/0.4688, allocations: 74.47 kB / 397.7 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/0.469, allocations: 93.25 kB / 397.8 MB, free: 9.949 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007456/0.4765, allocations: 2.105 MB / 399.9 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02012/0.4967, allocations: 7.512 MB / 407.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.4991, allocations: 1.276 MB / 408.7 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/0.4994, allocations: 121.2 kB / 408.8 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.4995, allocations: 41.28 kB / 408.8 MB, free: 4.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=52): time 3.166e-06/0.4995, allocations: 0 / 408.8 MB, free: 4.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=53): time 0.006756/0.5063, allocations: 2.288 MB / 411.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.5064, allocations: 86.61 kB / 411.2 MB, free: 3.113 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003401/0.5098, allocations: 1.499 MB / 412.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.51, allocations: 39.2 kB / 412.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006733/0.5107, allocations: 0.962 MB / 413.7 MB, free: 1.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.5109, allocations: 190.1 kB / 413.9 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.511, allocations: 25.88 kB / 413.9 MB, free: 1.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5111, allocations: 364.7 kB / 414.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.5123, allocations: 459 kB / 414.7 MB, free: 0.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.514, allocations: 1.097 MB / 415.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.5158, allocations: 0.672 MB / 416.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.146e-05/0.5159, allocations: 6.625 kB / 416.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004471/0.5203, allocations: 1.608 MB / 418.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.5204, allocations: 14.72 kB / 418.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/0.5205, allocations: 21.53 kB / 418.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.5218, allocations: 180.3 kB / 418.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/0.5237, allocations: 291.3 kB / 418.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/0.5275, allocations: 2.183 MB / 420.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.5294, allocations: 91.58 kB / 420.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/0.5297, allocations: 68 kB / 420.9 MB, free: 11.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001873/0.5316, allocations: 0.7078 MB / 421.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005462/0.5322, allocations: 134.5 kB / 421.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/0.5347, allocations: 0.8486 MB / 422.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.5348, allocations: 4.25 kB / 422.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.5348, allocations: 7.984 kB / 422.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.5348, allocations: 4 kB / 422.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007266/0.5421, allocations: 2.51 MB / 425.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.5422, allocations: 6.406 kB / 425.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/0.5429, allocations: 103.8 kB / 425.3 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.5442, allocations: 154.2 kB / 425.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.033e-05/0.5443, allocations: 16 kB / 425.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/0.5477, allocations: 2.127 MB / 427.5 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.5478, allocations: 4 kB / 427.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003668/0.5514, allocations: 1.481 MB / 429 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.5525, allocations: 287.5 kB / 429.3 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.5528, allocations: 16 kB / 429.3 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.554, allocations: 55.98 kB / 429.4 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.5542, allocations: 43.88 kB / 429.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/0.5543, allocations: 23.98 kB / 429.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002604/0.5569, allocations: 1.024 MB / 430.5 MB, free: 2.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5569, allocations: 4 kB / 430.5 MB, free: 2.016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002472/0.5594, allocations: 348 kB / 430.8 MB, free: 1.676 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004973/0.5644, allocations: 2.812 MB / 433.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003425/0.5679, allocations: 1.161 MB / 434.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.568, allocations: 0 / 434.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.5695, allocations: 0.5158 MB / 435.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/0.5725, allocations: 349.5 kB / 435.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03846/0.611, allocations: 25.11 MB / 460.8 MB, free: 2.836 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/0.6133, allocations: 1.701 MB / 462.5 MB, free: 1.102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/0.6148, allocations: 0.6164 MB / 463.1 MB, free: 496 kB / 330.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6149, allocations: 0 / 463.1 MB, free: 496 kB / 330.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 OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoadCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoadCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoadCalcHelperMain.cpp:34: ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.cpp:1356:28: error: use of undeclared identifier 'tmp7' _transformerData_P_C1_ = tmp7; ^ ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.cpp:1357:28: error: use of undeclared identifier 'tmp8' _transformerData_P_C2_ = tmp8; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoadCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoadFMU.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 2 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoadCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoadCalcHelperMain.o] Error 1