Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 109.5 kB / 17.81 MB, free: 5.559 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.001248/0.001248, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.007/2.007, 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.001554/0.001554, allocations: 51.94 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1839, allocations: 46.63 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.03018/0.2141, allocations: 13.52 MB / 340.8 MB, free: 7.301 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01858/0.2328, allocations: 4.463 MB / 345.2 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005426/0.2384, allocations: 67.69 kB / 345.3 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00651/0.2449, allocations: 0.9017 MB / 346.2 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.2552, allocations: 1.259 MB / 347.5 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005026/0.2603, allocations: 0.8577 MB / 348.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01547/0.2758, allocations: 5.091 MB / 353.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00914/0.285, allocations: 3.023 MB / 356.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005756/0.2908, allocations: 1.743 MB / 358.2 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007124/0.298, allocations: 2.264 MB / 360.4 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002258/0.3003, allocations: 340 kB / 360.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004644/0.305, allocations: 0.5466 MB / 361.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003215/0.3082, allocations: 1.059 MB / 362.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007087/0.3154, allocations: 2.189 MB / 364.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.3275, allocations: 6.516 MB / 371.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.3276, allocations: 4 kB / 371.1 MB, free: 8.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3276, allocations: 0 / 371.1 MB, free: 8.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004101/0.328, allocations: 0 / 371.1 MB, free: 8.82 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.02794/0.356, allocations: 5.017 MB / 376.1 MB, free: 3.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.78e-05/0.3561, allocations: 12.03 kB / 376.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00882/0.3649, allocations: 0.878 MB / 377 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/0.3756, allocations: 2.585 MB / 379.6 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3318/0.7075, allocations: 275.1 kB / 379.9 MB, free: 48.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002133/0.7097, allocations: 354.2 kB / 380.2 MB, free: 48.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01386/0.7236, allocations: 5.042 MB / 385.2 MB, free: 46.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.753e-05/0.7238, allocations: 4.359 kB / 385.2 MB, free: 46.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003922/0.7242, allocations: 142.9 kB / 385.4 MB, free: 46.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002831/0.7245, allocations: 162.7 kB / 385.5 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.7357, allocations: 4.378 MB / 389.9 MB, free: 44.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0292/0.7649, allocations: 15.91 MB / 405.8 MB, free: 34.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007831/0.7728, allocations: 7.785 MB / 413.6 MB, free: 26.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002541/0.7754, allocations: 1.722 MB / 415.3 MB, free: 24.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008772/0.7842, allocations: 4.655 MB / 420 MB, free: 19.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.7843, allocations: 51.88 kB / 420 MB, free: 19.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=161): time 5.42e-06/0.7843, allocations: 0 / 420 MB, free: 19.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=164): time 0.01816/0.8025, allocations: 8.123 MB / 428.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.8026, allocations: 68.72 kB / 428.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004909/0.8075, allocations: 2.159 MB / 430.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.8077, allocations: 57.7 kB / 430.5 MB, free: 8.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.8091, allocations: 1.618 MB / 432.1 MB, free: 7.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006668/0.8098, allocations: 0.5488 MB / 432.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008621/0.8107, allocations: 359.2 kB / 433 MB, free: 6.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.8109, allocations: 309 kB / 433.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/0.8127, allocations: 0.9408 MB / 434.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/0.8151, allocations: 1.457 MB / 435.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/0.8192, allocations: 2.507 MB / 438.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/0.8192, allocations: 4 kB / 438.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of matching and sorting (n=245) (initialization): time 0.007126/0.8264, allocations: 3.351 MB / 441.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.8264, allocations: 12 kB / 441.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.885e-05/0.8265, allocations: 12 kB / 441.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002362/0.8289, allocations: 0.7434 MB / 442.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.8304, allocations: 371.3 kB / 442.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/0.8459, allocations: 10.4 MB / 453.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/0.8492, allocations: 83.86 kB / 453.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000648/0.8499, allocations: 79.98 kB / 453.2 MB, free: 1.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * 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,8,100.0%), (9,19,33.3%), (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.004794/0.8547, allocations: 1.216 MB / 454.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/0.856, allocations: 225.3 kB / 454.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00799/0.864, allocations: 3.16 MB / 457.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/0.864, allocations: 16 kB / 457.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.029e-05/0.8641, allocations: 12 kB / 457.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/0.8641, allocations: 7.969 kB / 457.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.8806, allocations: 6.575 MB / 464.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.8807, allocations: 0 / 464.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009247/0.8816, allocations: 175.8 kB / 464.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002616/0.8843, allocations: 0.9174 MB / 465.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/0.8845, allocations: 39.98 kB / 465.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/0.9037, allocations: 14.8 MB / 480.4 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.9038, allocations: 0 / 480.4 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008565/0.9123, allocations: 4.505 MB / 484.9 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/0.9144, allocations: 0.5177 MB / 485.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007181/0.9152, allocations: 43.94 kB / 485.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.9167, allocations: 71.94 kB / 485.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005714/0.9173, allocations: 165 kB / 485.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.9174, allocations: 47.98 kB / 485.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003914/0.9214, allocations: 1.485 MB / 487.2 MB, free: 14.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9214, allocations: 0 / 487.2 MB, free: 14.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00449/0.9259, allocations: 0.7136 MB / 487.9 MB, free: 13.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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,1,100.0%), (1,8,100.0%), (9,19,33.3%), (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.000758/0.9267, allocations: 174.1 kB / 488.1 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006879/0.9335, allocations: 3.107 MB / 491.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.9336, allocations: 0 / 491.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004382/0.938, allocations: 2.259 MB / 493.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00521/0.9432, allocations: 0.607 MB / 494 MB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/0.9643, allocations: 8.374 MB / 0.4906 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004399/0.9688, allocations: 2.627 MB / 0.4932 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.9698, allocations: 147.4 kB / 0.4933 GB, free: 11.89 MB / 398.1 MB Notification: Performance of SimCode: time 3.146e-06/0.9699, allocations: 4 kB / 0.4933 GB, free: 11.89 MB / 398.1 MB Notification: Performance of Templates: time 0.5392/1.509, allocations: 151.2 MB / 0.641 GB, free: 55.09 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YDCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YDCalcHelperMain.o] Error 1