Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002118/0.002118, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.069/2.069, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001071/0.001071, allocations: 90.69 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.568e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09156/0.09161, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4473/0.539, allocations: 109 MB / 478.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004824/0.5395, allocations: 93.94 kB / 478.2 MB, free: 496 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2442/0.7838, allocations: 52.04 MB / 0.5178 GB, free: 13.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7838, allocations: 0 / 0.5178 GB, free: 13.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003035/0.7841, allocations: 71.86 kB / 0.5179 GB, free: 13.64 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008765/0.7929, allocations: 2.416 MB / 0.5202 GB, free: 11.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.793, allocations: 8.031 kB / 0.5202 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.7948, allocations: 328.3 kB / 0.5206 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006282/0.8011, allocations: 1.767 MB / 0.5223 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.8014, allocations: 148 kB / 0.5224 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000798/0.8022, allocations: 211.9 kB / 0.5226 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007766/0.81, allocations: 2.588 MB / 0.5252 GB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.8101, allocations: 11.84 kB / 0.5252 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/0.8105, allocations: 87.98 kB / 0.5252 GB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.8107, allocations: 91.92 kB / 0.5253 GB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006659/0.8173, allocations: 2.046 MB / 0.5273 GB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2865/1.104, allocations: 8.317 MB / 0.5355 GB, free: 97.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004507/1.108, allocations: 1.598 MB / 0.537 GB, free: 97.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002646/1.111, allocations: 0.9672 MB / 0.538 GB, free: 97.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004868/1.112, allocations: 142.6 kB / 0.5381 GB, free: 97.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/1.112, allocations: 49.09 kB / 0.5381 GB, free: 97.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 4.138e-06/1.112, allocations: 1.125 kB / 0.5381 GB, free: 97.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.01643/1.128, allocations: 5.015 MB / 0.543 GB, free: 96.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.128, allocations: 72.39 kB / 0.5431 GB, free: 96.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004897/1.133, allocations: 1.865 MB / 0.5449 GB, free: 96.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003699/1.134, allocations: 49.58 kB / 0.545 GB, free: 96.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008924/1.134, allocations: 1.005 MB / 0.546 GB, free: 95.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006926/1.135, allocations: 462.5 kB / 0.5464 GB, free: 95.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/1.135, allocations: 28.75 kB / 0.5464 GB, free: 95.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/1.136, allocations: 367.5 kB / 0.5468 GB, free: 95.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/1.137, allocations: 0.7069 MB / 0.5475 GB, free: 95.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/1.14, allocations: 0.9544 MB / 0.5484 GB, free: 95.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/1.142, allocations: 0.8525 MB / 0.5492 GB, free: 95.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/1.142, allocations: 1 kB / 0.5492 GB, free: 95.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.007153/1.149, allocations: 2.573 MB / 0.5517 GB, free: 94.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/1.149, allocations: 7.812 kB / 0.5518 GB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.515e-05/1.149, allocations: 7.812 kB / 0.5518 GB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003519/1.153, allocations: 0.8365 MB / 0.5526 GB, free: 94.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/1.155, allocations: 273.1 kB / 0.5528 GB, free: 94.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/1.172, allocations: 9.293 MB / 0.5619 GB, free: 90.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/1.175, allocations: 95.14 kB / 0.562 GB, free: 90.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/1.175, allocations: 54.98 kB / 0.5621 GB, free: 90.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004152/1.175, allocations: 185.4 kB / 0.5622 GB, free: 90.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006414/1.176, allocations: 199.9 kB / 0.5624 GB, free: 90 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006654/1.183, allocations: 2.476 MB / 0.5648 GB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/1.183, allocations: 15.75 kB / 0.5649 GB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/1.183, allocations: 10.59 kB / 0.5649 GB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/1.183, allocations: 3.844 kB / 0.5649 GB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/1.196, allocations: 4.992 MB / 0.5697 GB, free: 87.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/1.196, allocations: 6.781 kB / 0.5698 GB, free: 87.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/1.198, allocations: 223.7 kB / 0.57 GB, free: 87.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/1.202, allocations: 0.7028 MB / 0.5707 GB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002666/1.202, allocations: 34.16 kB / 0.5707 GB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/1.215, allocations: 8.463 MB / 0.579 GB, free: 81.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.215, allocations: 3.75 kB / 0.579 GB, free: 81.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008502/1.224, allocations: 3.593 MB / 0.5825 GB, free: 79.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/1.225, allocations: 482.2 kB / 0.5829 GB, free: 79.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004649/1.226, allocations: 30.66 kB / 0.583 GB, free: 79.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/1.228, allocations: 96.42 kB / 0.583 GB, free: 79.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004252/1.228, allocations: 110.1 kB / 0.5831 GB, free: 79.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.228, allocations: 37.83 kB / 0.5832 GB, free: 79.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003025/1.231, allocations: 1.455 MB / 0.5846 GB, free: 78.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.231, allocations: 0 / 0.5846 GB, free: 78.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003108/1.234, allocations: 0.5958 MB / 0.5852 GB, free: 78.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001628/1.236, allocations: 0.5782 MB / 0.5858 GB, free: 78.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005898/1.242, allocations: 2.384 MB / 0.5881 GB, free: 77.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/1.242, allocations: 0 / 0.5881 GB, free: 77.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00401/1.246, allocations: 1.674 MB / 0.5897 GB, free: 76.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/1.249, allocations: 406.8 kB / 0.5901 GB, free: 76.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/1.26, allocations: 4.348 MB / 0.5944 GB, free: 74.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/1.262, allocations: 1.989 MB / 0.5963 GB, free: 73.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009334/1.263, allocations: 139.2 kB / 0.5964 GB, free: 73.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/1.263, allocations: 4 kB / 0.5964 GB, free: 73.38 MB / 410.7 MB Notification: Performance of Templates: time 0.09825/1.361, allocations: 61.78 MB / 0.6568 GB, free: 19.79 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.AsynchronousInductionMachines.AIMC_withLossesCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesFunctions.cpp:449:34: error: use of undeclared identifier \'D_24tmpVar12_\'; did you mean \'D_24tmpVar13_\'?\n D_24tmpVar13_ = std::cos(D_24tmpVar12_);\n ^~~~~~~~~~~~~\n D_24tmpVar13_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesFunctions.cpp:426:12: note: \'D_24tmpVar13_\' declared here\n double D_24tmpVar13_;\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesFunctions.cpp:486:34: error: use of undeclared identifier \'D_24tmpVar15_\'; did you mean \'D_24tmpVar16_\'?\n D_24tmpVar16_ = std::sin(D_24tmpVar15_);\n ^~~~~~~~~~~~~\n D_24tmpVar16_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesFunctions.cpp:463:12: note: \'D_24tmpVar16_\' declared here\n double D_24tmpVar16_;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLossesCalcHelperMain.o] Error 1\n'