Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 93.02 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.001484/0.001484, allocations: 179.6 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.592/1.592, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 8 kB / 301.5 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1476, allocations: 50.41 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.0166/0.1642, allocations: 14.65 MB / 366.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.1767, allocations: 5.054 MB / 371.6 MB, free: 240 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003564/0.1803, allocations: 95.62 kB / 371.7 MB, free: 144 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2939/0.4743, allocations: 0.9361 MB / 372.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006324/0.4807, allocations: 1.321 MB / 373.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.4831, allocations: 0.7167 MB / 374.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.4932, allocations: 4.932 MB / 379.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005642/0.4989, allocations: 2.733 MB / 382.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004266/0.5032, allocations: 1.581 MB / 383.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/0.5071, allocations: 2.033 MB / 385.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005751/0.5077, allocations: 255.1 kB / 386.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.5094, allocations: 452.3 kB / 386.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.5106, allocations: 0.9747 MB / 387.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.5123, allocations: 0.9024 MB / 388.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008669/0.5209, allocations: 6.597 MB / 395.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.521, allocations: 0 / 395.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.521, allocations: 0 / 395.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002633/0.5213, allocations: 0 / 395.1 MB, free: 3.883 MB / 302.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.01799/0.5393, allocations: 4.608 MB / 399.7 MB, free: 1.355 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.5393, allocations: 9.062 kB / 399.7 MB, free: 1.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008576/0.5479, allocations: 0.9919 MB / 400.7 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.5585, allocations: 2.75 MB / 403.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006053/0.5591, allocations: 309.3 kB / 403.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002286/0.5614, allocations: 395.4 kB / 404.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01952/0.581, allocations: 5.201 MB / 409.3 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001687/0.5812, allocations: 7.75 kB / 409.4 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/0.5825, allocations: 163.2 kB / 409.5 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002397/0.5827, allocations: 176.8 kB / 409.7 MB, free: 9.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/0.5948, allocations: 4.47 MB / 414.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03826/0.6331, allocations: 16.92 MB / 431.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008794/0.6419, allocations: 8.432 MB / 439.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003236/0.6452, allocations: 1.713 MB / 441.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.6555, allocations: 5.029 MB / 446.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/0.6556, allocations: 55.81 kB / 446.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=157): time 3.547e-06/0.6556, allocations: 0 / 446.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=160): time 0.01425/0.6699, allocations: 6.246 MB / 452.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.67, allocations: 68.72 kB / 452.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005279/0.6753, allocations: 2.294 MB / 454.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.6755, allocations: 49.7 kB / 455 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00176/0.6773, allocations: 1.844 MB / 456.8 MB, free: 8.301 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000693/0.678, allocations: 0.552 MB / 457.4 MB, free: 7.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.6781, allocations: 51.94 kB / 457.4 MB, free: 7.703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002612/0.6784, allocations: 386.2 kB / 457.8 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.6802, allocations: 0.8553 MB / 458.6 MB, free: 6.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.6826, allocations: 1.571 MB / 460.2 MB, free: 4.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.6847, allocations: 1.127 MB / 461.3 MB, free: 3.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.269e-05/0.6848, allocations: 8 kB / 461.3 MB, free: 3.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005734/0.6905, allocations: 2.911 MB / 464.3 MB, free: 500 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.6906, allocations: 18.81 kB / 464.3 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-05/0.6906, allocations: 28 kB / 464.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.691, allocations: 125.6 kB / 464.4 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.693, allocations: 0.5501 MB / 465 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.695, allocations: 1.806 MB / 466.8 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.6973, allocations: 119.9 kB / 466.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.6976, allocations: 95.98 kB / 467 MB, free: 13.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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.002979/0.7006, allocations: 1.196 MB / 468.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008556/0.7014, allocations: 245 kB / 468.4 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005042/0.7065, allocations: 2.483 MB / 470.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.7065, allocations: 16 kB / 470.9 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.337e-05/0.7065, allocations: 7.984 kB / 470.9 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.7066, allocations: 7.969 kB / 470.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.7189, allocations: 5.837 MB / 476.8 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.719, allocations: 4.125 kB / 476.8 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.7203, allocations: 303.7 kB / 477.1 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009285/0.7212, allocations: 318.2 kB / 477.4 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.7214, allocations: 39.98 kB / 477.4 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007525/0.7289, allocations: 6.392 MB / 483.8 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7289, allocations: 0 / 483.8 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007951/0.7369, allocations: 3.605 MB / 487.4 MB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002467/0.7394, allocations: 0.498 MB / 487.9 MB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001131/0.7406, allocations: 32 kB / 488 MB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00221/0.7428, allocations: 99.92 kB / 488.1 MB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004094/0.7432, allocations: 117.1 kB / 488.2 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/0.7434, allocations: 47.98 kB / 488.2 MB, free: 7.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004404/0.7478, allocations: 1.545 MB / 489.8 MB, free: 6.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7478, allocations: 4 kB / 489.8 MB, free: 6.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004048/0.7519, allocations: 0.6758 MB / 490.4 MB, free: 5.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0005591/0.7524, allocations: 178.8 kB / 490.6 MB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004756/0.7572, allocations: 2.286 MB / 492.9 MB, free: 2.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.7572, allocations: 6.531 kB / 492.9 MB, free: 2.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00285/0.7601, allocations: 1.452 MB / 494.4 MB, free: 1.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004696/0.7648, allocations: 0.5798 MB / 494.9 MB, free: 0.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/0.7839, allocations: 8.331 MB / 0.4915 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004262/0.7882, allocations: 2.599 MB / 0.494 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.7893, allocations: 183.4 kB / 0.4942 GB, free: 5.738 MB / 414.1 MB Notification: Performance of SimCode: time 1.422e-06/0.7893, allocations: 0 / 0.4942 GB, free: 5.738 MB / 414.1 MB Notification: Performance of Templates: time 0.3416/1.131, allocations: 94.81 MB / 0.5868 GB, free: 114.5 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOLCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOLCalcHelperMain.o] Error 1