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.001803/0.001803, 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.002579/0.002579, 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.143/2.143, 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.001691/0.001691, allocations: 39.94 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1514, allocations: 46.63 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.02639/0.1779, allocations: 16.38 MB / 343.6 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01879/0.1968, allocations: 5.376 MB / 349 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007134/0.2041, allocations: 87.62 kB / 349.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007013/0.2111, allocations: 1.085 MB / 350.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.2213, allocations: 1.453 MB / 351.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005126/0.2264, allocations: 0.9787 MB / 352.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01224/0.2387, allocations: 5.293 MB / 357.9 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0091/0.2479, allocations: 3.191 MB / 361.1 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006023/0.2539, allocations: 1.841 MB / 362.9 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007134/0.2611, allocations: 2.439 MB / 365.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003085/0.2643, allocations: 368 kB / 365.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004921/0.2692, allocations: 0.5856 MB / 366.3 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003547/0.2728, allocations: 1.148 MB / 367.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00857/0.2814, allocations: 2.364 MB / 369.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.2935, allocations: 6.754 MB / 376.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.2935, allocations: 0 / 376.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.664e-06/0.2936, allocations: 4 kB / 376.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004991/0.2941, allocations: 7.938 kB / 376.6 MB, free: 3.27 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.3787/0.6728, allocations: 5.355 MB / 382 MB, free: 47.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.276e-05/0.6729, allocations: 9.156 kB / 382 MB, free: 47.49 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007283/0.6802, allocations: 0.9949 MB / 383 MB, free: 47.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009369/0.6896, allocations: 2.697 MB / 385.7 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005044/0.6902, allocations: 307.8 kB / 386 MB, free: 45.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001937/0.6921, allocations: 403.1 kB / 386.3 MB, free: 45.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0207/0.7128, allocations: 5.215 MB / 391.6 MB, free: 43.26 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003066/0.7132, allocations: 5.062 kB / 391.6 MB, free: 43.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001359/0.7146, allocations: 170.3 kB / 391.7 MB, free: 43.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003676/0.715, allocations: 167.2 kB / 391.9 MB, free: 43.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.7276, allocations: 4.449 MB / 396.3 MB, free: 41.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03637/0.7641, allocations: 16.83 MB / 413.2 MB, free: 26.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007817/0.7719, allocations: 8.416 MB / 421.6 MB, free: 17.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003075/0.775, allocations: 1.714 MB / 423.3 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.7856, allocations: 5.002 MB / 428.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.7857, allocations: 47.88 kB / 428.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=156): time 3.887e-06/0.7857, allocations: 0 / 428.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=159): time 0.01486/0.8006, allocations: 6.115 MB / 434.5 MB, free: 4.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.8007, allocations: 68.72 kB / 434.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005678/0.8064, allocations: 2.313 MB / 436.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.8066, allocations: 53.7 kB / 436.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.808, allocations: 1.847 MB / 438.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006525/0.8086, allocations: 0.5428 MB / 439.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007816/0.8094, allocations: 399.6 kB / 439.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8096, allocations: 301.1 kB / 440 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.8112, allocations: 0.8397 MB / 440.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.8135, allocations: 1.568 MB / 442.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/0.8175, allocations: 2.562 MB / 445 MB, free: 8.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/0.8176, allocations: 4 kB / 445 MB, free: 8.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005748/0.8233, allocations: 2.892 MB / 447.8 MB, free: 6.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.8234, allocations: 19.06 kB / 447.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.164e-05/0.8235, allocations: 28.03 kB / 447.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.8239, allocations: 121.7 kB / 448 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.826, allocations: 0.5459 MB / 448.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.8279, allocations: 1.818 MB / 450.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/0.8304, allocations: 107.8 kB / 450.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/0.8307, allocations: 100.1 kB / 450.6 MB, free: 3.156 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002948/0.8336, allocations: 1.2 MB / 451.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008773/0.8345, allocations: 245 kB / 452 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005005/0.8395, allocations: 2.444 MB / 454.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.8396, allocations: 19.19 kB / 454.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/0.8396, allocations: 4 kB / 454.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.8396, allocations: 11.97 kB / 454.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.8523, allocations: 5.801 MB / 460.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.8523, allocations: 7.984 kB / 460.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.8536, allocations: 275.6 kB / 460.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009758/0.8546, allocations: 326.5 kB / 460.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.8548, allocations: 43.98 kB / 460.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008246/0.8631, allocations: 6.386 MB / 467.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.485e-05/0.8631, allocations: 4.031 kB / 467.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00745/0.8706, allocations: 3.554 MB / 470.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001952/0.8726, allocations: 0.4902 MB / 471.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/0.8736, allocations: 44.11 kB / 471.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/0.8757, allocations: 80.06 kB / 471.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000418/0.8761, allocations: 125 kB / 471.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.8763, allocations: 47.98 kB / 471.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004289/0.8806, allocations: 1.572 MB / 473.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.285e-06/0.8806, allocations: 0 / 473.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003928/0.8845, allocations: 0.6822 MB / 473.9 MB, free: 11.12 MB / 366.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000538/0.8851, allocations: 169.5 kB / 474.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004755/0.8898, allocations: 2.257 MB / 476.3 MB, free: 8.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.8899, allocations: 5.938 kB / 476.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003214/0.8931, allocations: 1.45 MB / 477.8 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005506/0.8986, allocations: 0.5589 MB / 478.4 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/0.9178, allocations: 8.614 MB / 487 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00422/0.9221, allocations: 2.599 MB / 489.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.9232, allocations: 179.4 kB / 489.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of SimCode: time 1.483e-06/0.9232, allocations: 3.938 kB / 489.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Templates: time 0.4041/1.327, allocations: 95.25 MB / 0.5713 GB, free: 128 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++ -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.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