Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009045/0.0009046, allocations: 92.31 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.3 MB / 246.6 MB, free: 10.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002858, allocations: 8 kB / 307.3 MB, free: 1.332 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 51.49 MB / 358.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.3414/0.4872, allocations: 29.3 MB / 388.1 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02624/0.5135, allocations: 8.547 MB / 396.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0117/0.5253, allocations: 221.5 kB / 396.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.5358, allocations: 1.654 MB / 398.5 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01895/0.5548, allocations: 3.025 MB / 401.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008686/0.5635, allocations: 1.404 MB / 403 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0347/0.5982, allocations: 15.84 MB / 418.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04817/0.6465, allocations: 17.6 MB / 436.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01453/0.6611, allocations: 4.789 MB / 441.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01547/0.6766, allocations: 5.44 MB / 446.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005734/0.6824, allocations: 0.7305 MB / 447.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.693, allocations: 1.082 MB / 448.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007303/0.7004, allocations: 2.355 MB / 450.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009786/0.7102, allocations: 2.391 MB / 453.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03782/0.7481, allocations: 21.1 MB / 474.3 MB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.7482, allocations: 0 / 474.3 MB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.7482, allocations: 0 / 474.3 MB, free: 9.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001264/0.7495, allocations: 8 kB / 474.3 MB, free: 9.09 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.05263/0.8021, allocations: 12.4 MB / 486.7 MB, free: 12.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.82e-05/0.8022, allocations: 12.03 kB / 486.7 MB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04389/0.8461, allocations: 6.818 MB / 493.5 MB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02674/0.8729, allocations: 7.763 MB / 0.4895 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001712/0.8747, allocations: 0.7985 MB / 0.4903 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007951/0.8827, allocations: 1.051 MB / 0.4914 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07937/0.9621, allocations: 17.14 MB / 0.5081 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001234/0.9634, allocations: 19.84 kB / 0.5081 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008008/0.9715, allocations: 440 kB / 0.5085 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001169/0.9727, allocations: 0.6275 MB / 0.5091 GB, free: 9.734 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05597/1.029, allocations: 16.23 MB / 0.525 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7509/1.78, allocations: 57.11 MB / 0.5808 GB, free: 93.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0231/1.803, allocations: 31.35 MB / 0.6114 GB, free: 63.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008047/1.811, allocations: 4.378 MB / 0.6157 GB, free: 61.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0226/1.834, allocations: 10.76 MB / 0.6262 GB, free: 51.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/1.834, allocations: 81.77 kB / 0.6262 GB, free: 50.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 4.679e-06/1.834, allocations: 0 / 0.6262 GB, free: 50.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.05259/1.886, allocations: 23.46 MB / 0.6492 GB, free: 27.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/1.886, allocations: 120.7 kB / 0.6493 GB, free: 26.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007649/1.894, allocations: 4.663 MB / 0.6538 GB, free: 22.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001237/1.895, allocations: 93.7 kB / 0.6539 GB, free: 22.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002914/1.898, allocations: 4.672 MB / 0.6585 GB, free: 17.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001779/1.9, allocations: 1.447 MB / 0.6599 GB, free: 16.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003368/1.9, allocations: 120 kB / 0.66 GB, free: 15.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002722/1.901, allocations: 0.5383 MB / 0.6605 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003952/1.905, allocations: 2.897 MB / 0.6634 GB, free: 12.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005129/1.91, allocations: 4.93 MB / 0.6682 GB, free: 6.652 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005654/1.915, allocations: 3.941 MB / 0.672 GB, free: 2.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.152e-05/1.915, allocations: 20 kB / 0.672 GB, free: 2.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01831/1.934, allocations: 9.701 MB / 0.6815 GB, free: 8.918 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/1.934, allocations: 32 kB / 0.6815 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/1.934, allocations: 64 kB / 0.6816 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004532/1.939, allocations: 1.678 MB / 0.6832 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005664/1.944, allocations: 1.314 MB / 0.6845 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02345/1.968, allocations: 16.46 MB / 0.7006 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005887/1.974, allocations: 331.6 kB / 0.7009 GB, free: 4.496 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001411/1.975, allocations: 287.9 kB / 0.7012 GB, free: 4.215 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01016/1.985, allocations: 3.897 MB / 0.705 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/1.987, allocations: 497.9 kB / 0.7055 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/2.002, allocations: 7.795 MB / 0.7131 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.08e-05/2.002, allocations: 44 kB / 0.7131 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.815e-05/2.002, allocations: 20 kB / 0.7131 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.485e-05/2.003, allocations: 23.91 kB / 0.7132 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4198/2.422, allocations: 17.45 MB / 0.7302 GB, free: 159.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/2.422, allocations: 10.11 kB / 0.7302 GB, free: 159.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004451/2.427, allocations: 0.7259 MB / 0.7309 GB, free: 159.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005765/2.433, allocations: 1.543 MB / 0.7324 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/2.434, allocations: 105.5 kB / 0.7325 GB, free: 158.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0252/2.459, allocations: 19.5 MB / 0.7516 GB, free: 144.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/2.459, allocations: 7.953 kB / 0.7516 GB, free: 144.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02255/2.482, allocations: 11.43 MB / 0.7627 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004075/2.486, allocations: 1.165 MB / 0.7639 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/2.488, allocations: 88.39 kB / 0.764 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003797/2.491, allocations: 241.4 kB / 0.7642 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009939/2.492, allocations: 326 kB / 0.7645 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003255/2.493, allocations: 134.5 kB / 0.7646 GB, free: 138.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0068/2.5, allocations: 3.143 MB / 0.7677 GB, free: 137.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/2.5, allocations: 0 / 0.7677 GB, free: 137.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01139/2.511, allocations: 1.876 MB / 0.7695 GB, free: 137.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.phi) * 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 (364): * Single equations (assignments): 357 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,41.3%) 44,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001578/2.513, allocations: 288.2 kB / 0.7698 GB, free: 137.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01453/2.527, allocations: 8.062 MB / 0.7777 GB, free: 130.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/2.527, allocations: 0 / 0.7777 GB, free: 130.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009112/2.536, allocations: 4.629 MB / 0.7822 GB, free: 126.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008812/2.545, allocations: 1.269 MB / 0.7834 GB, free: 125.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04151/2.587, allocations: 22.76 MB / 0.8057 GB, free: 102.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007487/2.594, allocations: 6.577 MB / 0.8121 GB, free: 96.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002567/2.597, allocations: 427.3 kB / 0.8125 GB, free: 95.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.893e-06/2.597, allocations: 4 kB / 0.8125 GB, free: 95.9 MB / 494.1 MB Notification: Performance of Templates: time 1.505/4.102, allocations: 460.2 MB / 1.262 GB, free: 161.9 MB / 0.4982 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.o] Error 1