Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 105.5 kB / 17.8 MB, free: 5.695 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.001582/0.001582, allocations: 190 kB / 18.72 MB, free: 4.781 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.148/2.148, 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.001781/0.001781, allocations: 43.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1723, allocations: 46.63 MB / 327.3 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.02059/0.1929, allocations: 12.63 MB / 339.9 MB, free: 8.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.2063, allocations: 4.222 MB / 344.1 MB, free: 3.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004425/0.2109, allocations: 63.75 kB / 344.2 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004951/0.2159, allocations: 0.855 MB / 345 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007226/0.2232, allocations: 1.146 MB / 346.2 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.227, allocations: 0.7992 MB / 347 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009699/0.2367, allocations: 4.145 MB / 351.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00663/0.2433, allocations: 2.642 MB / 353.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004201/0.2475, allocations: 1.448 MB / 355.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005447/0.253, allocations: 1.899 MB / 357.1 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002122/0.2552, allocations: 292 kB / 357.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004062/0.2592, allocations: 0.4958 MB / 357.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002616/0.2619, allocations: 0.8798 MB / 358.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007361/0.2693, allocations: 1.835 MB / 360.6 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.2806, allocations: 5.557 MB / 366.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.2807, allocations: 0 / 366.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2807, allocations: 0 / 366.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004143/0.2811, allocations: 0 / 366.2 MB, free: 13.78 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.0191/0.3002, allocations: 4.296 MB / 370.5 MB, free: 9.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.935e-05/0.3003, allocations: 8.031 kB / 370.5 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/0.3049, allocations: 0.8085 MB / 371.3 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005095/0.3101, allocations: 2.173 MB / 373.4 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.3103, allocations: 238.6 kB / 373.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/0.3109, allocations: 311.8 kB / 374 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009319/0.3202, allocations: 4.223 MB / 378.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.92e-05/0.3203, allocations: 4 kB / 378.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000328/0.3207, allocations: 128 kB / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002213/0.3209, allocations: 154.3 kB / 378.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3333/0.6542, allocations: 3.59 MB / 382.1 MB, free: 49.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0288/0.6831, allocations: 13.19 MB / 395.3 MB, free: 41.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006288/0.6894, allocations: 6.889 MB / 402.1 MB, free: 34.76 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/0.692, allocations: 1.375 MB / 403.5 MB, free: 34.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006793/0.6988, allocations: 3.72 MB / 407.2 MB, free: 31.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.6989, allocations: 45.78 kB / 407.3 MB, free: 31.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 3.076e-06/0.6989, allocations: 0 / 407.3 MB, free: 31.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01072/0.7096, allocations: 5.369 MB / 412.7 MB, free: 27.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.7097, allocations: 66.59 kB / 412.7 MB, free: 27.76 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.7122, allocations: 1.702 MB / 414.4 MB, free: 26.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/0.7123, allocations: 49.7 kB / 414.5 MB, free: 26.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008112/0.7131, allocations: 1.395 MB / 415.9 MB, free: 24.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.7134, allocations: 436.1 kB / 416.3 MB, free: 24.37 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.7138, allocations: 283.3 kB / 416.6 MB, free: 24.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.7138, allocations: 309.1 kB / 416.9 MB, free: 23.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008824/0.7147, allocations: 0.6442 MB / 417.5 MB, free: 23.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.7158, allocations: 1.106 MB / 418.6 MB, free: 21.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.7179, allocations: 1.873 MB / 420.5 MB, free: 19.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.7179, allocations: 4 kB / 420.5 MB, free: 19.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003539/0.7215, allocations: 2.32 MB / 422.8 MB, free: 17.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.7215, allocations: 12 kB / 422.8 MB, free: 17.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.7216, allocations: 19.98 kB / 422.9 MB, free: 17.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000726/0.7223, allocations: 274.1 kB / 423.1 MB, free: 17.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.7235, allocations: 355.3 kB / 423.5 MB, free: 16.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00464/0.7282, allocations: 5.7 MB / 429.2 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.7302, allocations: 75.95 kB / 429.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.7303, allocations: 64 kB / 429.3 MB, free: 10.52 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002548/0.7329, allocations: 1.001 MB / 430.3 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/0.7335, allocations: 185.7 kB / 430.5 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/0.7371, allocations: 2.119 MB / 432.6 MB, free: 7.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.7371, allocations: 12 kB / 432.6 MB, free: 7.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.7372, allocations: 8 kB / 432.6 MB, free: 7.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.7372, allocations: 7.969 kB / 432.6 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007913/0.7451, allocations: 4.813 MB / 437.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.7452, allocations: 4.219 kB / 437.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/0.7459, allocations: 167.8 kB / 437.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.747, allocations: 448.1 kB / 438 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.399e-05/0.7471, allocations: 35.98 kB / 438.1 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/0.7587, allocations: 10.09 MB / 448.2 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.7588, allocations: 4.031 kB / 448.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005773/0.7646, allocations: 2.986 MB / 451.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.7658, allocations: 402.7 kB / 451.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.766, allocations: 36.17 kB / 451.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008297/0.7669, allocations: 67.94 kB / 451.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003609/0.7672, allocations: 108.6 kB / 451.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.691e-05/0.7673, allocations: 35.98 kB / 451.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002129/0.7695, allocations: 1.178 MB / 453 MB, free: 1.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7695, allocations: 0 / 453 MB, free: 1.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00245/0.772, allocations: 0.5391 MB / 453.5 MB, free: 1.344 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,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.0005298/0.7725, allocations: 153.6 kB / 453.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003871/0.7764, allocations: 2.069 MB / 455.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.7764, allocations: 0 / 455.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002728/0.7791, allocations: 1.526 MB / 457.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.782, allocations: 491.5 kB / 457.7 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.7967, allocations: 6.81 MB / 464.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/0.7992, allocations: 2.224 MB / 466.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006887/0.7999, allocations: 135.4 kB / 466.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of SimCode: time 1.914e-06/0.7999, allocations: 4 kB / 466.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of Templates: time 0.4624/1.262, allocations: 108.9 MB / 0.5623 GB, free: 108.8 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.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_InverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_InverterCalcHelperMain.o] Error 1