Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 101.5 kB / 17.8 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.001584/0.001584, allocations: 194 kB / 18.72 MB, free: 4.762 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.981/1.981, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001319/0.001319, allocations: 39.94 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1602, allocations: 46.64 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01834/0.1786, allocations: 13.44 MB / 340.7 MB, free: 7.387 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.1913, allocations: 4.381 MB / 345.1 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004669/0.1961, allocations: 67.69 kB / 345.1 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004711/0.2009, allocations: 0.8628 MB / 346 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007069/0.208, allocations: 1.185 MB / 347.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.2115, allocations: 0.8382 MB / 348 MB, free: 24 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009631/0.2211, allocations: 4.332 MB / 352.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006845/0.228, allocations: 2.639 MB / 355 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.2329, allocations: 1.51 MB / 356.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005348/0.2383, allocations: 1.922 MB / 358.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002359/0.2407, allocations: 300 kB / 358.7 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/0.2441, allocations: 0.5036 MB / 359.2 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.2453, allocations: 0.8836 MB / 360.1 MB, free: 3.836 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003415/0.2487, allocations: 1.897 MB / 362 MB, free: 1.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00639/0.2551, allocations: 5.635 MB / 367.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.2551, allocations: 0 / 367.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2552, allocations: 0 / 367.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002349/0.2554, allocations: 4 kB / 367.6 MB, free: 12.28 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01583/0.2712, allocations: 4.387 MB / 372 MB, free: 7.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.384e-05/0.2714, allocations: 12.03 kB / 372 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005363/0.2767, allocations: 0.8163 MB / 372.9 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007587/0.2844, allocations: 2.221 MB / 375.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003857/0.2848, allocations: 246.8 kB / 375.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.2865, allocations: 328 kB / 375.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3663/0.6528, allocations: 4.265 MB / 379.9 MB, free: 48.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001681/0.6531, allocations: 2 kB / 379.9 MB, free: 48.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006673/0.6537, allocations: 134 kB / 380 MB, free: 48.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.654, allocations: 145.4 kB / 380.2 MB, free: 48.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009543/0.6635, allocations: 3.594 MB / 383.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.027/0.6905, allocations: 13.88 MB / 397.7 MB, free: 39.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006964/0.6976, allocations: 6.568 MB / 404.2 MB, free: 33.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.6999, allocations: 1.389 MB / 405.6 MB, free: 32.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007454/0.7073, allocations: 3.633 MB / 409.3 MB, free: 30.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.346e-05/0.7074, allocations: 49 kB / 409.3 MB, free: 29.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 5.35e-06/0.7075, allocations: 0 / 409.3 MB, free: 29.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=137): time 0.01298/0.7204, allocations: 5.886 MB / 415.2 MB, free: 25.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.7205, allocations: 64.72 kB / 415.3 MB, free: 25.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00383/0.7244, allocations: 1.781 MB / 417 MB, free: 23.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.7245, allocations: 53.7 kB / 417.1 MB, free: 23.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.7256, allocations: 1.434 MB / 418.5 MB, free: 21.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004306/0.7261, allocations: 477 kB / 419 MB, free: 21.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007072/0.7268, allocations: 319.2 kB / 419.3 MB, free: 20.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7269, allocations: 305.1 kB / 419.6 MB, free: 20.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.7282, allocations: 0.6804 MB / 420.3 MB, free: 19.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.7299, allocations: 1.193 MB / 421.5 MB, free: 18.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/0.7331, allocations: 1.997 MB / 423.5 MB, free: 16.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.02e-05/0.7332, allocations: 12 kB / 423.5 MB, free: 16.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004914/0.7381, allocations: 2.542 MB / 426 MB, free: 13.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/0.7382, allocations: 12 kB / 426 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.681e-05/0.7382, allocations: 20 kB / 426.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.7394, allocations: 360.3 kB / 426.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.7408, allocations: 383.4 kB / 426.8 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007029/0.7478, allocations: 7.697 MB / 434.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/0.75, allocations: 79.95 kB / 434.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003722/0.7504, allocations: 76 kB / 434.6 MB, free: 4.629 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003033/0.7534, allocations: 1.001 MB / 435.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008818/0.7543, allocations: 193.6 kB / 435.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00474/0.7591, allocations: 2.296 MB / 438.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.7591, allocations: 12 kB / 438.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.281e-05/0.7592, allocations: 8 kB / 438.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.7592, allocations: 7.969 kB / 438.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.7729, allocations: 5.078 MB / 443.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.773, allocations: 0 / 443.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009298/0.774, allocations: 179.9 kB / 443.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/0.7758, allocations: 0.5302 MB / 443.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/0.776, allocations: 39.92 kB / 444 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/0.7922, allocations: 12.08 MB / 456 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.7923, allocations: 4.031 kB / 456 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006927/0.7992, allocations: 3.22 MB / 459.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/0.8009, allocations: 426.6 kB / 459.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009291/0.8018, allocations: 40 kB / 459.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.8035, allocations: 55.95 kB / 459.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004647/0.804, allocations: 115.4 kB / 459.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.8042, allocations: 39.98 kB / 459.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003406/0.8076, allocations: 1.223 MB / 461.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.8e-07/0.8076, allocations: 0 / 461.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003793/0.8114, allocations: 0.5748 MB / 461.7 MB, free: 8.473 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005943/0.812, allocations: 161.6 kB / 461.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005721/0.8178, allocations: 2.35 MB / 464.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.8178, allocations: 0 / 464.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003508/0.8213, allocations: 1.755 MB / 466 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/0.8256, allocations: 0.5075 MB / 466.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/0.843, allocations: 7.217 MB / 473.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004155/0.8472, allocations: 2.257 MB / 476 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008655/0.8481, allocations: 135.4 kB / 476.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of SimCode: time 1.673e-06/0.8482, allocations: 0 / 476.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of Templates: time 0.4623/1.31, allocations: 128.4 MB / 0.5904 GB, free: 110.1 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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.AIMC_SteinmetzCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_SteinmetzCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_SteinmetzCalcHelperMain.o] Error 1