Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008738/0.000874, allocations: 94.05 kB / 16.95 MB, free: 5.676 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.001134/0.001135, allocations: 181.7 kB / 17.84 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 8 kB / 301.5 MB, free: 6.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 50.42 MB / 351.9 MB, free: 3.988 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2748/0.4033, allocations: 33.46 MB / 385.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02823/0.4316, allocations: 9.291 MB / 394.6 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0116/0.4433, allocations: 269.2 kB / 394.9 MB, free: 3.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.4538, allocations: 1.879 MB / 396.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01799/0.4718, allocations: 3.35 MB / 400.1 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00923/0.4811, allocations: 1.578 MB / 401.7 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03118/0.5123, allocations: 18.76 MB / 420.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0531/0.5654, allocations: 24.65 MB / 445.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01519/0.5807, allocations: 6.085 MB / 451.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01896/0.5997, allocations: 6.895 MB / 458.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006891/0.6066, allocations: 0.9375 MB / 459 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0124/0.619, allocations: 1.296 MB / 460.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008592/0.6277, allocations: 2.982 MB / 463.3 MB, free: 6.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01181/0.6395, allocations: 3.084 MB / 466.4 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04428/0.6838, allocations: 27.04 MB / 493.5 MB, free: 8.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.6839, allocations: 0 / 493.5 MB, free: 8.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.422e-06/0.6839, allocations: 0 / 493.5 MB, free: 8.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001436/0.6854, allocations: 0 / 493.5 MB, free: 8.254 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06613/0.7515, allocations: 15.76 MB / 0.4973 GB, free: 8.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.3e-05/0.7516, allocations: 8.031 kB / 0.4973 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07362/0.8253, allocations: 8.281 MB / 0.5054 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03226/0.8576, allocations: 9.75 MB / 0.5149 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001697/0.8594, allocations: 1.06 MB / 0.5159 GB, free: 5.172 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009403/0.8688, allocations: 1.402 MB / 0.5173 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6779/1.547, allocations: 22.66 MB / 0.5394 GB, free: 99.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001008/1.548, allocations: 23.12 kB / 0.5394 GB, free: 99.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006843/1.555, allocations: 0.5796 MB / 0.54 GB, free: 99.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001189/1.556, allocations: 0.7778 MB / 0.5408 GB, free: 99.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05569/1.611, allocations: 20.93 MB / 0.5612 GB, free: 89.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1387/1.75, allocations: 73.1 MB / 0.6326 GB, free: 16.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03654/1.787, allocations: 42.38 MB / 0.674 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01101/1.798, allocations: 5.262 MB / 0.6791 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03197/1.83, allocations: 12.82 MB / 0.6916 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/1.83, allocations: 90.77 kB / 0.6917 GB, free: 15.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=504): time 7.144e-06/1.83, allocations: 0 / 0.6917 GB, free: 15.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=512): time 0.3994/2.229, allocations: 28.94 MB / 0.72 GB, free: 151.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/2.23, allocations: 130.5 kB / 0.7201 GB, free: 151.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01338/2.243, allocations: 5.708 MB / 0.7257 GB, free: 149.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00137/2.244, allocations: 107.8 kB / 0.7258 GB, free: 149.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005066/2.249, allocations: 6.141 MB / 0.7318 GB, free: 144.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002647/2.252, allocations: 1.756 MB / 0.7335 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005008/2.253, allocations: 150.2 kB / 0.7337 GB, free: 143 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003906/2.253, allocations: 0.614 MB / 0.7343 GB, free: 142.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005352/2.258, allocations: 3.649 MB / 0.7378 GB, free: 141.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006618/2.265, allocations: 6.502 MB / 0.7442 GB, free: 136.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006646/2.272, allocations: 5.034 MB / 0.7491 GB, free: 133.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.876e-05/2.272, allocations: 29.66 kB / 0.7491 GB, free: 133.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.01993/2.292, allocations: 12.12 MB / 0.7609 GB, free: 129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/2.292, allocations: 46.41 kB / 0.761 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/2.292, allocations: 91.09 kB / 0.7611 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004281/2.296, allocations: 1.599 MB / 0.7626 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00667/2.303, allocations: 1.666 MB / 0.7643 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/2.324, allocations: 18.2 MB / 0.782 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007699/2.332, allocations: 428.7 kB / 0.7825 GB, free: 113.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/2.334, allocations: 370.8 kB / 0.7828 GB, free: 113.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (868): * Single equations (assignments): 858 * 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,54.2%) 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.01373/2.347, allocations: 5.184 MB / 0.7879 GB, free: 108.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002815/2.35, allocations: 0.5977 MB / 0.7885 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01905/2.369, allocations: 9.445 MB / 0.7977 GB, free: 98.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009658/2.379, allocations: 5.925 MB / 0.8035 GB, free: 93.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.728e-05/2.379, allocations: 31.94 kB / 0.8035 GB, free: 92.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-05/2.379, allocations: 23.91 kB / 0.8035 GB, free: 92.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04802/2.427, allocations: 21.13 MB / 0.8242 GB, free: 71.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.614e-05/2.427, allocations: 8 kB / 0.8242 GB, free: 71.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004003/2.431, allocations: 0.8702 MB / 0.825 GB, free: 70.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004676/2.436, allocations: 1.624 MB / 0.8266 GB, free: 69.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001134/2.437, allocations: 132 kB / 0.8267 GB, free: 69.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0233/2.46, allocations: 21.33 MB / 0.8476 GB, free: 46.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/2.461, allocations: 15.89 kB / 0.8476 GB, free: 46.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02673/2.487, allocations: 13.82 MB / 0.8611 GB, free: 32.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005018/2.492, allocations: 1.368 MB / 0.8624 GB, free: 31.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002856/2.495, allocations: 107.8 kB / 0.8625 GB, free: 31.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005046/2.5, allocations: 303.8 kB / 0.8628 GB, free: 30.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001701/2.502, allocations: 408.4 kB / 0.8632 GB, free: 30.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008856/2.503, allocations: 156 kB / 0.8633 GB, free: 30.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.009814/2.513, allocations: 3.836 MB / 0.8671 GB, free: 26.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.062e-06/2.513, allocations: 0 / 0.8671 GB, free: 26.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01505/2.528, allocations: 2.341 MB / 0.8694 GB, free: 24.16 MB / 494.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,52.8%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001858/2.53, allocations: 326.2 kB / 0.8697 GB, free: 23.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0197/2.549, allocations: 9.906 MB / 0.8793 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.098e-05/2.55, allocations: 4 kB / 0.8793 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.3081/2.858, allocations: 5.474 MB / 0.8847 GB, free: 156.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01542/2.873, allocations: 1.565 MB / 0.8862 GB, free: 156.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06535/2.939, allocations: 29.33 MB / 0.9149 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01528/2.954, allocations: 8.569 MB / 0.9232 GB, free: 140 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002777/2.957, allocations: 0.5023 MB / 0.9237 GB, free: 140 MB / 494.1 MB Notification: Performance of SimCode: time 1.843e-06/2.957, allocations: 0 / 0.9237 GB, free: 140 MB / 494.1 MB Notification: Performance of Templates: time 1.858/4.814, allocations: 0.6662 GB / 1.59 GB, free: 24.07 MB / 0.4982 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.o] Error 1