Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009582/0.000958, allocations: 83.2 kB / 17.58 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001208, allocations: 183.5 kB / 18.48 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 224.6 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 15.98 kB / 281.4 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 47.58 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03229/0.1419, allocations: 33.52 MB / 362.5 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02319/0.1651, allocations: 9.307 MB / 371.8 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00872/0.1739, allocations: 235.1 kB / 372.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008959/0.1829, allocations: 1.88 MB / 373.9 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01524/0.1982, allocations: 3.386 MB / 377.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007243/0.2054, allocations: 1.602 MB / 378.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2953/0.5007, allocations: 18.96 MB / 397.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05246/0.5533, allocations: 24.64 MB / 422.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01568/0.569, allocations: 6.15 MB / 428.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01633/0.5854, allocations: 6.988 MB / 435.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00556/0.591, allocations: 0.9453 MB / 436.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.6016, allocations: 1.306 MB / 437.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007272/0.6089, allocations: 3.038 MB / 441 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01006/0.619, allocations: 3.107 MB / 444.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03733/0.6563, allocations: 27.01 MB / 471.1 MB, free: 8.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-05/0.6564, allocations: 3.984 kB / 471.1 MB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.6564, allocations: 0 / 471.1 MB, free: 8.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001149/0.6576, allocations: 7.938 kB / 471.1 MB, free: 8.98 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.0536/0.7112, allocations: 15.87 MB / 487 MB, free: 9.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.7113, allocations: 8.031 kB / 487 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05022/0.7615, allocations: 9.284 MB / 496.2 MB, free: 4 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02024/0.7818, allocations: 8.992 MB / 0.4934 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00151/0.7833, allocations: 1.077 MB / 0.4945 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007994/0.7914, allocations: 1.418 MB / 0.4958 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06618/0.8576, allocations: 23.12 MB / 0.5184 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006683/0.8583, allocations: 23.75 kB / 0.5184 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005261/0.8635, allocations: 0.5853 MB / 0.519 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008582/0.8644, allocations: 0.8071 MB / 0.5198 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4892/1.354, allocations: 21.61 MB / 0.5409 GB, free: 112.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1227/1.476, allocations: 74.34 MB / 0.6135 GB, free: 60.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02941/1.506, allocations: 53.53 MB / 0.6658 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009551/1.515, allocations: 5.439 MB / 0.6711 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02769/1.543, allocations: 15.61 MB / 0.6863 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.958e-05/1.543, allocations: 94.7 kB / 0.6864 GB, free: 11.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=504): time 6.081e-06/1.543, allocations: 0 / 0.6864 GB, free: 11.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=512): time 0.3411/1.884, allocations: 29.1 MB / 0.7148 GB, free: 152.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.885, allocations: 132.4 kB / 0.715 GB, free: 152.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/1.897, allocations: 5.861 MB / 0.7207 GB, free: 151.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001224/1.898, allocations: 113.2 kB / 0.7208 GB, free: 151.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004646/1.903, allocations: 6.283 MB / 0.7269 GB, free: 147.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002521/1.905, allocations: 1.755 MB / 0.7286 GB, free: 146.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005954/1.906, allocations: 159.7 kB / 0.7288 GB, free: 146.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004425/1.907, allocations: 0.6204 MB / 0.7294 GB, free: 145.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006213/1.913, allocations: 3.702 MB / 0.733 GB, free: 144.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007546/1.92, allocations: 6.796 MB / 0.7396 GB, free: 139 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007773/1.928, allocations: 5.163 MB / 0.7447 GB, free: 136.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/1.928, allocations: 30.88 kB / 0.7447 GB, free: 136.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02349/1.952, allocations: 12.43 MB / 0.7569 GB, free: 131.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.098e-05/1.952, allocations: 50 kB / 0.7569 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001969/1.952, allocations: 104.2 kB / 0.757 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003948/1.956, allocations: 1.606 MB / 0.7586 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007551/1.964, allocations: 1.745 MB / 0.7603 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0213/1.985, allocations: 18.21 MB / 0.7781 GB, free: 119 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006821/1.992, allocations: 440.2 kB / 0.7785 GB, free: 118.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/1.994, allocations: 395.7 kB / 0.7789 GB, free: 118.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 1,(12,53.5%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009993/2.004, allocations: 5.247 MB / 0.784 GB, free: 114.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001631/2.005, allocations: 0.6094 MB / 0.7846 GB, free: 114.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/2.019, allocations: 9.468 MB / 0.7938 GB, free: 105.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007756/2.027, allocations: 5.928 MB / 0.7996 GB, free: 99.35 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-05/2.027, allocations: 20 kB / 0.7996 GB, free: 99.33 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.865e-05/2.027, allocations: 27.89 kB / 0.7997 GB, free: 99.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03499/2.062, allocations: 21.21 MB / 0.8204 GB, free: 77.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/2.062, allocations: 5.938 kB / 0.8204 GB, free: 77.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003344/2.066, allocations: 0.862 MB / 0.8212 GB, free: 77.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003938/2.07, allocations: 1.634 MB / 0.8228 GB, free: 75.47 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006434/2.07, allocations: 128.1 kB / 0.8229 GB, free: 75.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01995/2.09, allocations: 21.35 MB / 0.8438 GB, free: 53.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/2.09, allocations: 11.94 kB / 0.8438 GB, free: 53.08 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01905/2.109, allocations: 13.84 MB / 0.8573 GB, free: 38.88 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00388/2.113, allocations: 1.372 MB / 0.8587 GB, free: 37.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001635/2.115, allocations: 112 kB / 0.8588 GB, free: 37.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003517/2.118, allocations: 295.7 kB / 0.859 GB, free: 37.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008057/2.119, allocations: 412.4 kB / 0.8594 GB, free: 36.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003053/2.12, allocations: 152 kB / 0.8596 GB, free: 36.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006185/2.126, allocations: 3.926 MB / 0.8634 GB, free: 32.64 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/2.126, allocations: 1.422 kB / 0.8634 GB, free: 32.64 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01102/2.137, allocations: 2.376 MB / 0.8657 GB, free: 30.27 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 430 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(12,53.5%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001361/2.138, allocations: 308.8 kB / 0.866 GB, free: 29.97 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01549/2.154, allocations: 10.06 MB / 0.8758 GB, free: 19.81 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/2.154, allocations: 0 / 0.8758 GB, free: 19.81 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009171/2.163, allocations: 5.496 MB / 0.8812 GB, free: 14.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2795/2.443, allocations: 1.568 MB / 0.8827 GB, free: 144.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06044/2.503, allocations: 29.73 MB / 0.9118 GB, free: 132.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01517/2.518, allocations: 8.648 MB / 0.9202 GB, free: 129.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00283/2.521, allocations: 0.5168 MB / 0.9207 GB, free: 129.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.683e-06/2.521, allocations: 0 / 0.9207 GB, free: 129.5 MB / 478.1 MB Notification: Performance of Templates: time 1.89/4.412, allocations: 0.6719 GB / 1.593 GB, free: 153.5 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.o] Error 1