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.0008629/0.0008628, allocations: 91.14 kB / 17.58 MB, free: 5.379 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.001023/0.001023, allocations: 189.4 kB / 18.48 MB, free: 4.977 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.709/1.709, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004579/0.0004579, allocations: 12.62 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1165, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01143/0.128, allocations: 11.21 MB / 340.2 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008193/0.1362, allocations: 3.978 MB / 344.2 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.1383, allocations: 63.75 kB / 344.2 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.1406, allocations: 0.7146 MB / 345 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.1446, allocations: 1.041 MB / 346 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.1464, allocations: 0.5846 MB / 346.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005561/0.152, allocations: 3.887 MB / 350.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003112/0.1551, allocations: 2.181 MB / 352.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.1576, allocations: 1.241 MB / 353.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.1604, allocations: 1.587 MB / 355.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004857/0.1609, allocations: 204 kB / 355.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.1623, allocations: 399.7 kB / 356.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000754/0.1631, allocations: 0.7394 MB / 356.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.1642, allocations: 0.7226 MB / 357.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005545/0.1697, allocations: 5.388 MB / 362.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1698, allocations: 0 / 362.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1698, allocations: 0 / 362.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001685/0.1699, allocations: 0 / 362.9 MB, free: 1.988 MB / 302.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.01031/0.1803, allocations: 3.673 MB / 366.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1803, allocations: 8.031 kB / 366.6 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.1849, allocations: 0.8038 MB / 367.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004954/0.1898, allocations: 2.126 MB / 369.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.1901, allocations: 242.2 kB / 369.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005557/0.1906, allocations: 311.9 kB / 370.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007741/0.1984, allocations: 4.215 MB / 374.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.205e-05/0.1985, allocations: 7.953 kB / 374.3 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002842/0.1988, allocations: 124 kB / 374.4 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/0.1989, allocations: 150.3 kB / 374.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006536/0.2055, allocations: 3.597 MB / 378.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2961/0.5016, allocations: 13.23 MB / 391.4 MB, free: 42.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00637/0.5081, allocations: 6.899 MB / 398.3 MB, free: 36.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.5107, allocations: 1.381 MB / 399.7 MB, free: 35.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00833/0.5191, allocations: 3.732 MB / 403.4 MB, free: 33.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/0.5192, allocations: 47.69 kB / 403.4 MB, free: 33.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 5.15e-06/0.5192, allocations: 2.312 kB / 403.4 MB, free: 33.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01089/0.5301, allocations: 5.467 MB / 408.9 MB, free: 29.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.5302, allocations: 63.56 kB / 409 MB, free: 29.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.5327, allocations: 1.696 MB / 410.7 MB, free: 28.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.5328, allocations: 47.89 kB / 410.7 MB, free: 28.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008762/0.5337, allocations: 1.406 MB / 412.1 MB, free: 27.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.5341, allocations: 432 kB / 412.5 MB, free: 26.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.5341, allocations: 31.34 kB / 412.6 MB, free: 26.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5343, allocations: 364.9 kB / 412.9 MB, free: 26.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009098/0.5352, allocations: 0.6425 MB / 413.6 MB, free: 26.24 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.5364, allocations: 1.121 MB / 414.7 MB, free: 25.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.5376, allocations: 0.8544 MB / 415.6 MB, free: 24.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.5377, allocations: 3.938 kB / 415.6 MB, free: 24.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003273/0.5409, allocations: 2.329 MB / 417.9 MB, free: 22.53 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.541, allocations: 12 kB / 417.9 MB, free: 22.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.541, allocations: 12 kB / 417.9 MB, free: 22.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/0.5416, allocations: 277.9 kB / 418.2 MB, free: 22.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.5428, allocations: 359.4 kB / 418.5 MB, free: 21.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/0.5471, allocations: 5.69 MB / 424.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.5485, allocations: 71.88 kB / 424.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5486, allocations: 71.98 kB / 424.4 MB, free: 15.66 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002086/0.5507, allocations: 0.9971 MB / 425.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.551, allocations: 181.9 kB / 425.5 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003241/0.5542, allocations: 2.137 MB / 427.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.5542, allocations: 12 kB / 427.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5543, allocations: 4 kB / 427.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.5543, allocations: 7.969 kB / 427.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006882/0.5612, allocations: 4.831 MB / 432.5 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5612, allocations: 4 kB / 432.5 MB, free: 7.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006443/0.5618, allocations: 171.8 kB / 432.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009284/0.5628, allocations: 456.6 kB / 433.1 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.5629, allocations: 35.98 kB / 433.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008436/0.5713, allocations: 10.08 MB / 443.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.5713, allocations: 4.031 kB / 443.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004933/0.5763, allocations: 3.006 MB / 446.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.5773, allocations: 406.8 kB / 446.7 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.5776, allocations: 32 kB / 446.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/0.5783, allocations: 80.06 kB / 446.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.5786, allocations: 100.8 kB / 446.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.636e-05/0.5787, allocations: 39.98 kB / 446.9 MB, free: 8.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001838/0.5805, allocations: 1.158 MB / 448.1 MB, free: 7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5805, allocations: 0 / 448.1 MB, free: 7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00226/0.5828, allocations: 0.5377 MB / 448.6 MB, free: 6.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003227/0.5831, allocations: 154.7 kB / 448.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003553/0.5867, allocations: 2.084 MB / 450.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5867, allocations: 0 / 450.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002631/0.5893, allocations: 1.535 MB / 452.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/0.5922, allocations: 495 kB / 452.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.6027, allocations: 6.635 MB / 459.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002003/0.6047, allocations: 2.224 MB / 461.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005911/0.6054, allocations: 135.4 kB / 461.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of SimCode: time 1.894e-06/0.6054, allocations: 0 / 461.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of Templates: time 0.3375/0.9428, allocations: 108.5 MB / 0.557 GB, free: 144.2 MB / 430.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++ NOTFOUND -Winvalid-pch -O0 -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/c/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