Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.00149, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.885/1.885, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001174/0.001174, allocations: 95.53 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003849, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3224, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.4658, allocations: 92.08 MB / 466.6 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/0.4662, allocations: 87.95 kB / 466.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5826/1.049, allocations: 74.01 MB / 0.528 GB, free: 84.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.049, allocations: 0 / 0.528 GB, free: 84.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003416/1.049, allocations: 95.97 kB / 0.5281 GB, free: 84.18 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01236/1.062, allocations: 3.193 MB / 0.5312 GB, free: 82.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/1.062, allocations: 14.88 kB / 0.5313 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/1.064, allocations: 392.6 kB / 0.5316 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00744/1.072, allocations: 2.198 MB / 0.5338 GB, free: 80.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/1.072, allocations: 216.2 kB / 0.534 GB, free: 79.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/1.073, allocations: 284 kB / 0.5343 GB, free: 79.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/1.085, allocations: 4.142 MB / 0.5383 GB, free: 75.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.946e-05/1.085, allocations: 0 / 0.5383 GB, free: 75.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006491/1.086, allocations: 128 kB / 0.5384 GB, free: 75.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001666/1.086, allocations: 133.9 kB / 0.5386 GB, free: 75.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009786/1.096, allocations: 3.217 MB / 0.5417 GB, free: 71.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02888/1.125, allocations: 11.01 MB / 0.5524 GB, free: 60.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004159/1.129, allocations: 2.634 MB / 0.555 GB, free: 57.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004717/1.129, allocations: 138 kB / 0.5552 GB, free: 57.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/1.13, allocations: 47.56 kB / 0.5552 GB, free: 57.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 4.428e-06/1.13, allocations: 4 kB / 0.5552 GB, free: 57.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.01503/1.145, allocations: 5.66 MB / 0.5607 GB, free: 51.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/1.145, allocations: 94.53 kB / 0.5608 GB, free: 51.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/1.149, allocations: 1.725 MB / 0.5625 GB, free: 50.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003362/1.149, allocations: 45.7 kB / 0.5625 GB, free: 49.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000888/1.15, allocations: 1.258 MB / 0.5638 GB, free: 48.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005728/1.15, allocations: 452.3 kB / 0.5642 GB, free: 48.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/1.151, allocations: 24 kB / 0.5642 GB, free: 48.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/1.151, allocations: 370.8 kB / 0.5646 GB, free: 47.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/1.153, allocations: 0.8276 MB / 0.5654 GB, free: 47.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/1.155, allocations: 1.165 MB / 0.5665 GB, free: 45.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002564/1.158, allocations: 1.021 MB / 0.5675 GB, free: 44.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/1.158, allocations: 4 kB / 0.5675 GB, free: 44.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00654/1.164, allocations: 2.43 MB / 0.5699 GB, free: 42.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/1.165, allocations: 12 kB / 0.5699 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.905e-05/1.165, allocations: 23.88 kB / 0.5699 GB, free: 42.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/1.166, allocations: 372.7 kB / 0.5703 GB, free: 41.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/1.169, allocations: 327.5 kB / 0.5706 GB, free: 41.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007655/1.177, allocations: 4.355 MB / 0.5749 GB, free: 37.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/1.179, allocations: 95.92 kB / 0.5749 GB, free: 36.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004061/1.18, allocations: 60 kB / 0.575 GB, free: 36.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002573/1.182, allocations: 1.049 MB / 0.576 GB, free: 35.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007429/1.183, allocations: 189.7 kB / 0.5762 GB, free: 35.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005917/1.189, allocations: 2.207 MB / 0.5784 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/1.189, allocations: 12 kB / 0.5784 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.318e-05/1.189, allocations: 4 kB / 0.5784 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/1.189, allocations: 7.969 kB / 0.5784 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/1.203, allocations: 5.172 MB / 0.5834 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-05/1.203, allocations: 7.984 kB / 0.5834 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/1.205, allocations: 231.6 kB / 0.5837 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/1.206, allocations: 360.8 kB / 0.584 GB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002842/1.207, allocations: 31.98 kB / 0.584 GB, free: 27.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007444/1.214, allocations: 4.277 MB / 0.5882 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.214, allocations: 0 / 0.5882 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008242/1.222, allocations: 3.302 MB / 0.5914 GB, free: 19.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.224, allocations: 466.7 kB / 0.5919 GB, free: 19.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005904/1.225, allocations: 24 kB / 0.5919 GB, free: 19.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/1.227, allocations: 108 kB / 0.592 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004136/1.227, allocations: 88.86 kB / 0.5921 GB, free: 19.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.228, allocations: 43.98 kB / 0.5921 GB, free: 19.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003143/1.231, allocations: 1.331 MB / 0.5934 GB, free: 17.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.231, allocations: 0 / 0.5934 GB, free: 17.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002955/1.234, allocations: 0.5741 MB / 0.594 GB, free: 17.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].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 (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007399/1.235, allocations: 214.5 kB / 0.5942 GB, free: 17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005717/1.24, allocations: 2.338 MB / 0.5965 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.24, allocations: 0 / 0.5965 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00331/1.244, allocations: 1.329 MB / 0.5978 GB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003926/1.248, allocations: 488.2 kB / 0.5983 GB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/1.263, allocations: 6.714 MB / 0.6048 GB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0034/1.266, allocations: 2.417 MB / 0.6072 GB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009989/1.267, allocations: 127.4 kB / 0.6073 GB, free: 3.457 MB / 378.7 MB Notification: Performance of SimCode: time 2.124e-06/1.267, allocations: 4 kB / 0.6073 GB, free: 3.453 MB / 378.7 MB Notification: Performance of Templates: time 0.3841/1.652, allocations: 49.33 MB / 0.6555 GB, free: 103.7 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:134:38: error: use of undeclared identifier \'_omcQ_24tmpVar12_\'; did you mean \'_omcQ_24tmpVar13_\'?\n _omcQ_24tmpVar13_ = std::cos(_omcQ_24tmpVar12_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar13_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:111:12: note: \'_omcQ_24tmpVar13_\' declared here\n double _omcQ_24tmpVar13_;\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:171:38: error: use of undeclared identifier \'_omcQ_24tmpVar15_\'; did you mean \'_omcQ_24tmpVar16_\'?\n _omcQ_24tmpVar16_ = std::sin(_omcQ_24tmpVar15_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar16_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchFunctions.cpp:148:12: note: \'_omcQ_24tmpVar16_\' declared here\n double _omcQ_24tmpVar16_;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o] Error 1\n'