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.001186/0.001187, allocations: 93.08 kB / 17.95 MB, free: 5.625 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.001462/0.001464, allocations: 180.3 kB / 18.87 MB, free: 4.773 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.082/2.082, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005117/0.0005118, allocations: 12.33 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1318, allocations: 47.59 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.01697/0.1489, allocations: 12.86 MB / 342.5 MB, free: 6.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.162, allocations: 4.409 MB / 346.9 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003909/0.166, allocations: 67.69 kB / 347 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004614/0.1706, allocations: 0.8978 MB / 347.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007945/0.1786, allocations: 1.259 MB / 349.1 MB, free: 176 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00398/0.1826, allocations: 0.8266 MB / 350 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01031/0.1929, allocations: 5.095 MB / 355 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007932/0.2009, allocations: 3.007 MB / 358.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004752/0.2057, allocations: 1.505 MB / 359.6 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005604/0.2114, allocations: 2.011 MB / 361.6 MB, free: 3.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002269/0.2137, allocations: 240 kB / 361.8 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004151/0.2179, allocations: 451.7 kB / 362.2 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003013/0.2209, allocations: 0.9223 MB / 363.2 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006698/0.2277, allocations: 2.031 MB / 365.2 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.238, allocations: 6.334 MB / 371.5 MB, free: 9.621 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.238, allocations: 0 / 371.5 MB, free: 9.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2381, allocations: 3.938 kB / 371.5 MB, free: 9.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000409/0.2385, allocations: 4 kB / 371.5 MB, free: 9.613 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.01703/0.2555, allocations: 4.253 MB / 375.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.2556, allocations: 16.02 kB / 375.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006598/0.2622, allocations: 0.878 MB / 376.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008233/0.2705, allocations: 2.581 MB / 379.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000431/0.271, allocations: 275.6 kB / 379.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/0.2729, allocations: 363.8 kB / 379.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3744/0.6474, allocations: 5.037 MB / 384.9 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.6476, allocations: 2.969 kB / 384.9 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004253/0.648, allocations: 149 kB / 385.1 MB, free: 45.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003601/0.6484, allocations: 162.6 kB / 385.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.6625, allocations: 4.401 MB / 389.6 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04468/0.7073, allocations: 16 MB / 405.6 MB, free: 33.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008886/0.7163, allocations: 7.79 MB / 413.4 MB, free: 26.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003452/0.7198, allocations: 1.728 MB / 415.2 MB, free: 24.87 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009974/0.7298, allocations: 4.684 MB / 419.8 MB, free: 20.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.606e-05/0.73, allocations: 51.88 kB / 419.9 MB, free: 20.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=161): time 5.721e-06/0.73, allocations: 3.938 kB / 419.9 MB, free: 20.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=164): time 0.0194/0.7494, allocations: 8.213 MB / 428.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.7495, allocations: 72.7 kB / 428.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005221/0.7548, allocations: 2.159 MB / 430.3 MB, free: 9.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002683/0.7551, allocations: 56.98 kB / 430.4 MB, free: 9.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.7564, allocations: 1.616 MB / 432 MB, free: 7.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006448/0.7571, allocations: 0.5432 MB / 432.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003909/0.7575, allocations: 165.6 kB / 432.7 MB, free: 6.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.7576, allocations: 309.1 kB / 433 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.7594, allocations: 0.9603 MB / 434 MB, free: 5.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/0.7615, allocations: 1.468 MB / 435.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/0.7652, allocations: 2.53 MB / 438 MB, free: 1.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/0.7653, allocations: 4 kB / 438 MB, free: 1.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=245) (initialization): time 0.007086/0.7723, allocations: 3.371 MB / 441.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/0.7724, allocations: 12 kB / 441.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.965e-05/0.7725, allocations: 16 kB / 441.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/0.7747, allocations: 0.737 MB / 442.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.7763, allocations: 375.4 kB / 442.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01504/0.7914, allocations: 10.43 MB / 452.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/0.7943, allocations: 91.86 kB / 453 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005426/0.7949, allocations: 76 kB / 453.1 MB, free: 1.621 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.004384/0.7993, allocations: 1.223 MB / 454.3 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/0.8005, allocations: 229.2 kB / 454.5 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008397/0.8089, allocations: 3.188 MB / 457.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/0.8089, allocations: 20 kB / 457.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.206e-05/0.809, allocations: 8 kB / 457.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/0.809, allocations: 7.969 kB / 457.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.825, allocations: 6.594 MB / 464.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.8251, allocations: 4 kB / 464.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009229/0.826, allocations: 183.9 kB / 464.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002655/0.8287, allocations: 0.9052 MB / 465.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.8289, allocations: 40.36 kB / 465.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/0.8487, allocations: 14.84 MB / 480.3 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.8488, allocations: 224 / 480.3 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.859, allocations: 4.545 MB / 484.8 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/0.8613, allocations: 0.5217 MB / 485.4 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/0.8624, allocations: 40 kB / 485.4 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/0.8643, allocations: 84.5 kB / 485.5 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006712/0.865, allocations: 157.1 kB / 485.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.8652, allocations: 43.94 kB / 485.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004389/0.8696, allocations: 1.489 MB / 487.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.8696, allocations: 3.938 kB / 487.2 MB, free: 14.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004405/0.874, allocations: 0.7056 MB / 487.9 MB, free: 13.74 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.0005936/0.8746, allocations: 168.6 kB / 488 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007063/0.8817, allocations: 3.14 MB / 491.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/0.8817, allocations: 7.938 kB / 491.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005319/0.8871, allocations: 2.266 MB / 493.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00626/0.8934, allocations: 0.5991 MB / 494.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02152/0.9149, allocations: 8.52 MB / 0.4908 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004224/0.9192, allocations: 2.619 MB / 0.4934 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009583/0.9202, allocations: 155.4 kB / 0.4935 GB, free: 12.05 MB / 398.1 MB Notification: Performance of SimCode: time 2.064e-06/0.9202, allocations: 4 kB / 0.4935 GB, free: 12.04 MB / 398.1 MB Notification: Performance of Templates: time 0.4956/1.416, allocations: 150.6 MB / 0.6406 GB, free: 54.53 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