Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_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.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008304/0.0008305, allocations: 88.69 kB / 17.58 MB, free: 5.754 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.001096/0.001096, allocations: 183.8 kB / 18.47 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.762/1.762, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004922/0.0004923, allocations: 8 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1106, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01644/0.1271, allocations: 14.59 MB / 343.6 MB, free: 5.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1389, allocations: 5.078 MB / 348.7 MB, free: 352 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003793/0.1428, allocations: 83.69 kB / 348.7 MB, free: 268 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003925/0.1467, allocations: 0.944 MB / 349.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005889/0.1526, allocations: 1.321 MB / 351 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.1557, allocations: 0.7212 MB / 351.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008182/0.1639, allocations: 4.954 MB / 356.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005815/0.1697, allocations: 2.688 MB / 359.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.1733, allocations: 1.576 MB / 360.9 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004388/0.1777, allocations: 2.038 MB / 363 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001439/0.1792, allocations: 256 kB / 363.2 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.182, allocations: 467.7 kB / 363.7 MB, free: 1.211 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00194/0.1839, allocations: 0.973 MB / 364.7 MB, free: 240 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002532/0.1865, allocations: 0.9058 MB / 365.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008534/0.195, allocations: 6.564 MB / 372.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1951, allocations: 0 / 372.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1951, allocations: 0 / 372.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003081/0.1954, allocations: 0 / 372.1 MB, free: 8.738 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01378/0.2092, allocations: 4.602 MB / 376.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2092, allocations: 12.03 kB / 376.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005638/0.2149, allocations: 1.002 MB / 377.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006014/0.2209, allocations: 2.625 MB / 380.4 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.2212, allocations: 304.1 kB / 380.7 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2218/0.443, allocations: 392 kB / 381 MB, free: 47.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.4536, allocations: 5.201 MB / 386.2 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.867e-05/0.4537, allocations: 4.344 kB / 386.3 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003413/0.4541, allocations: 163.3 kB / 386.4 MB, free: 45.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002231/0.4543, allocations: 172.9 kB / 386.6 MB, free: 45.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008272/0.4626, allocations: 4.449 MB / 391 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02287/0.4855, allocations: 16.94 MB / 408 MB, free: 31.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006126/0.4916, allocations: 8.425 MB / 416.4 MB, free: 23.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002197/0.4939, allocations: 1.723 MB / 418.1 MB, free: 21.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006313/0.5002, allocations: 5.013 MB / 423.1 MB, free: 16.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.5003, allocations: 47.88 kB / 423.2 MB, free: 16.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=156): time 3.046e-06/0.5003, allocations: 3.938 kB / 423.2 MB, free: 16.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=159): time 0.009515/0.5098, allocations: 6.202 MB / 429.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.5098, allocations: 64.72 kB / 429.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.5125, allocations: 2.306 MB / 431.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.8e-05/0.5126, allocations: 53.7 kB / 431.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009247/0.5135, allocations: 1.843 MB / 433.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.5139, allocations: 0.5477 MB / 434.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.084e-05/0.514, allocations: 40 kB / 434.2 MB, free: 4.949 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5141, allocations: 393.6 kB / 434.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.5152, allocations: 0.8514 MB / 435.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.5166, allocations: 1.571 MB / 437 MB, free: 1.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.5181, allocations: 1.126 MB / 438.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.5181, allocations: 4 kB / 438.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004312/0.5224, allocations: 2.907 MB / 441.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.5225, allocations: 16.62 kB / 441.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/0.5225, allocations: 20.53 kB / 441.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/0.5228, allocations: 133.7 kB / 441.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.5248, allocations: 0.5538 MB / 441.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.5266, allocations: 1.815 MB / 443.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.5281, allocations: 119.9 kB / 443.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.5283, allocations: 103.9 kB / 443.8 MB, free: 10.83 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002185/0.5305, allocations: 1.189 MB / 445 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.5308, allocations: 241.1 kB / 445.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.5347, allocations: 2.475 MB / 447.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.5347, allocations: 16 kB / 447.7 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.5347, allocations: 8 kB / 447.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.5347, allocations: 7.969 kB / 447.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008211/0.543, allocations: 5.824 MB / 453.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.543, allocations: 0 / 453.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.5441, allocations: 295.8 kB / 453.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007654/0.5449, allocations: 333.4 kB / 454.2 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.545, allocations: 49.8 kB / 454.2 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006206/0.5512, allocations: 6.373 MB / 460.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5513, allocations: 4.172 kB / 460.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006334/0.5576, allocations: 3.595 MB / 464.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/0.5591, allocations: 0.498 MB / 464.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/0.5594, allocations: 35.98 kB / 464.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.5604, allocations: 95.88 kB / 464.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/0.5607, allocations: 121.1 kB / 465 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.695e-05/0.5608, allocations: 47.94 kB / 465 MB, free: 4.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002449/0.5632, allocations: 1.552 MB / 466.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5632, allocations: 0 / 466.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002366/0.5656, allocations: 0.6691 MB / 467.2 MB, free: 2.734 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003473/0.566, allocations: 171.6 kB / 467.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003886/0.5699, allocations: 2.282 MB / 469.7 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/0.5699, allocations: 5.531 kB / 469.7 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.5723, allocations: 1.459 MB / 471.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/0.575, allocations: 0.5753 MB / 471.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.5883, allocations: 8.348 MB / 480.1 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/0.5909, allocations: 2.603 MB / 482.7 MB, free: 3.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008251/0.5917, allocations: 179.4 kB / 482.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5918, allocations: 0 / 482.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of Templates: time 0.3115/0.9032, allocations: 94.79 MB / 0.5641 GB, free: 136 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_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.FundamentalWave.Examples.BasicMachines.SMEE_DOLCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOLCalcHelperMain.o] Error 1