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_Initialize.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_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.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_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.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001849/0.00185, allocations: 197.9 kB / 18.73 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001316/0.001316, allocations: 55.94 kB / 280.7 MB, free: 3.555 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1572, allocations: 46.63 MB / 327.3 MB, free: 4.859 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0425/0.1998, allocations: 32.37 MB / 359.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02936/0.2292, allocations: 8.897 MB / 368.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01212/0.2414, allocations: 191.3 kB / 368.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02182/0.2633, allocations: 7.459 MB / 376.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01801/0.2814, allocations: 3.383 MB / 379.6 MB, free: 352 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3416/0.623, allocations: 1.988 MB / 381.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02851/0.6515, allocations: 13.55 MB / 395.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03752/0.6891, allocations: 18.27 MB / 413.4 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01602/0.7052, allocations: 5.609 MB / 419 MB, free: 0 / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01851/0.7238, allocations: 6.977 MB / 426 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0079/0.7318, allocations: 1.158 MB / 427.1 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01225/0.744, allocations: 1.513 MB / 428.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009194/0.7533, allocations: 3.043 MB / 431.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02228/0.7756, allocations: 6.397 MB / 438.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.032/0.8076, allocations: 21.73 MB / 459.8 MB, free: 9.555 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.8077, allocations: 0 / 459.8 MB, free: 9.555 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8077, allocations: 0 / 459.8 MB, free: 9.555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001039/0.8088, allocations: 7.938 kB / 459.8 MB, free: 9.547 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.06292/0.8717, allocations: 14.8 MB / 474.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.31e-05/0.8718, allocations: 8.031 kB / 474.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04668/0.9185, allocations: 7.736 MB / 482.4 MB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02642/0.945, allocations: 7.277 MB / 489.6 MB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001763/0.9468, allocations: 0.8032 MB / 490.5 MB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008476/0.9553, allocations: 1.067 MB / 491.5 MB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0687/1.024, allocations: 17.67 MB / 0.4973 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000901/1.025, allocations: 19.8 kB / 0.4973 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00606/1.031, allocations: 449.8 kB / 0.4977 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00091/1.032, allocations: 0.6592 MB / 0.4983 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04927/1.081, allocations: 16.97 MB / 0.5149 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6679/1.749, allocations: 57.15 MB / 0.5707 GB, free: 80.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03483/1.784, allocations: 40.06 MB / 0.6099 GB, free: 44.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008543/1.793, allocations: 4.504 MB / 0.6143 GB, free: 42.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03248/1.825, allocations: 12.71 MB / 0.6267 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/1.825, allocations: 83.97 kB / 0.6267 GB, free: 34.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 7.975e-06/1.825, allocations: 4 kB / 0.6267 GB, free: 34.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.05828/1.884, allocations: 21.45 MB / 0.6477 GB, free: 16.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/1.884, allocations: 120.7 kB / 0.6478 GB, free: 16.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/1.896, allocations: 4.824 MB / 0.6525 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001209/1.897, allocations: 93.7 kB / 0.6526 GB, free: 11.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00384/1.901, allocations: 4.796 MB / 0.6573 GB, free: 7.031 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002576/1.904, allocations: 1.453 MB / 0.6587 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005417/1.909, allocations: 1.204 MB / 0.6599 GB, free: 4.375 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/1.909, allocations: 301.1 kB / 0.6602 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005816/1.915, allocations: 2.964 MB / 0.6631 GB, free: 1.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008666/1.924, allocations: 5.236 MB / 0.6682 GB, free: 10.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01599/1.94, allocations: 8.723 MB / 0.6767 GB, free: 1.398 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/1.94, allocations: 20 kB / 0.6767 GB, free: 1.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02427/1.964, allocations: 10.05 MB / 0.6865 GB, free: 7.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.964, allocations: 36 kB / 0.6866 GB, free: 7.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/1.965, allocations: 76 kB / 0.6866 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005512/1.97, allocations: 1.669 MB / 0.6883 GB, free: 5.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006164/1.976, allocations: 1.399 MB / 0.6896 GB, free: 4.676 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03037/2.007, allocations: 16.48 MB / 0.7057 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007284/2.014, allocations: 339.6 kB / 0.7061 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/2.016, allocations: 308 kB / 0.7064 GB, free: 3.102 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01179/2.028, allocations: 3.943 MB / 0.7102 GB, free: 15.24 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002572/2.03, allocations: 0.5005 MB / 0.7107 GB, free: 14.74 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02216/2.052, allocations: 7.795 MB / 0.7183 GB, free: 6.898 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.607e-05/2.053, allocations: 44 kB / 0.7183 GB, free: 6.855 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-05/2.053, allocations: 19.98 kB / 0.7184 GB, free: 6.836 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-05/2.053, allocations: 27.86 kB / 0.7184 GB, free: 6.809 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4175/2.47, allocations: 17.53 MB / 0.7355 GB, free: 189.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-05/2.47, allocations: 6.531 kB / 0.7355 GB, free: 189.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004226/2.475, allocations: 0.7229 MB / 0.7362 GB, free: 189.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005499/2.48, allocations: 1.561 MB / 0.7377 GB, free: 188.9 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001151/2.481, allocations: 101 kB / 0.7378 GB, free: 188.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02532/2.507, allocations: 19.5 MB / 0.7569 GB, free: 174.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/2.507, allocations: 12.94 kB / 0.7569 GB, free: 174.7 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02823/2.535, allocations: 11.46 MB / 0.7681 GB, free: 169.7 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005964/2.541, allocations: 1.16 MB / 0.7692 GB, free: 169.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002972/2.544, allocations: 97.86 kB / 0.7693 GB, free: 169.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004978/2.549, allocations: 231.7 kB / 0.7695 GB, free: 169.1 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001712/2.551, allocations: 320 kB / 0.7698 GB, free: 169 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009878/2.552, allocations: 136.2 kB / 0.77 GB, free: 169 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.009007/2.561, allocations: 3.254 MB / 0.7731 GB, free: 167.8 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.41e-07/2.561, allocations: 0 / 0.7731 GB, free: 167.8 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01223/2.573, allocations: 1.891 MB / 0.775 GB, free: 167.6 MB / 0.4982 GB 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.strayReluctance.Phi.re,imc.stator.strayReluctance.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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,40.8%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001828/2.575, allocations: 277.8 kB / 0.7753 GB, free: 167.4 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01939/2.594, allocations: 8.218 MB / 0.7833 GB, free: 162.6 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 2.207e-05/2.594, allocations: 0 / 0.7833 GB, free: 162.6 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.01074/2.605, allocations: 4.657 MB / 0.7878 GB, free: 158.4 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01406/2.619, allocations: 1.24 MB / 0.789 GB, free: 157.4 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05484/2.674, allocations: 23.97 MB / 0.8125 GB, free: 134.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006559/2.681, allocations: 6.647 MB / 0.8189 GB, free: 127.9 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002265/2.683, allocations: 435.3 kB / 0.8194 GB, free: 127.5 MB / 0.4982 GB Notification: Performance of SimCode: time 7.81e-07/2.683, allocations: 0 / 0.8194 GB, free: 127.5 MB / 0.4982 GB Notification: Performance of Templates: time 1.475/4.158, allocations: 465.6 MB / 1.274 GB, free: 168.1 MB / 0.4982 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_InitializeCalcHelperMain.o] Error 1