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.001011/0.001012, allocations: 101.4 kB / 17.96 MB, free: 5.621 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.002247/0.002247, allocations: 176.1 kB / 18.86 MB, free: 4.777 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.11/2.11, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005449/0.0005452, allocations: 12 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1535, allocations: 47.58 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01552/0.1691, allocations: 11.99 MB / 341.6 MB, free: 7.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.1808, allocations: 4.179 MB / 345.8 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.1833, allocations: 63.75 kB / 345.9 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.1861, allocations: 0.8434 MB / 346.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00453/0.1907, allocations: 1.146 MB / 347.8 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.1928, allocations: 0.7836 MB / 348.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006967/0.1998, allocations: 4.145 MB / 352.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003813/0.2037, allocations: 2.619 MB / 355.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.2062, allocations: 1.268 MB / 356.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.2089, allocations: 1.653 MB / 358.3 MB, free: 6.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004293/0.2094, allocations: 204 kB / 358.5 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.2109, allocations: 419.7 kB / 358.9 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008432/0.2117, allocations: 0.751 MB / 359.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.2141, allocations: 1.712 MB / 361.4 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006694/0.2209, allocations: 5.399 MB / 366.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2209, allocations: 0 / 366.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2209, allocations: 4 kB / 366.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001876/0.2211, allocations: 0 / 366.8 MB, free: 14.36 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.01123/0.2323, allocations: 3.638 MB / 370.4 MB, free: 10.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.2324, allocations: 12.03 kB / 370.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004738/0.2372, allocations: 0.8047 MB / 371.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004871/0.2421, allocations: 2.177 MB / 373.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.2423, allocations: 238.6 kB / 373.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/0.2429, allocations: 311.8 kB / 374 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008477/0.2514, allocations: 4.231 MB / 378.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.086e-05/0.2515, allocations: 3.906 kB / 378.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003231/0.2518, allocations: 136 kB / 378.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001864/0.252, allocations: 150.2 kB / 378.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2906/0.5426, allocations: 3.612 MB / 382.1 MB, free: 32.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03199/0.5747, allocations: 13.26 MB / 395.3 MB, free: 28.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007636/0.5823, allocations: 6.91 MB / 402.2 MB, free: 21.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/0.5851, allocations: 1.377 MB / 403.6 MB, free: 21.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007732/0.5928, allocations: 3.727 MB / 407.4 MB, free: 18.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.5929, allocations: 57.91 kB / 407.4 MB, free: 18.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 3.787e-06/0.5929, allocations: 0 / 407.4 MB, free: 18.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01163/0.6046, allocations: 5.428 MB / 412.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.6047, allocations: 63.53 kB / 412.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/0.6075, allocations: 1.707 MB / 414.6 MB, free: 14.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.652e-05/0.6076, allocations: 49.05 kB / 414.7 MB, free: 14.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009777/0.6086, allocations: 1.396 MB / 416 MB, free: 12.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.609, allocations: 436.8 kB / 416.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.6092, allocations: 128.8 kB / 416.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.6093, allocations: 301.1 kB / 416.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.6103, allocations: 0.6531 MB / 417.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.6116, allocations: 1.12 MB / 418.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/0.6141, allocations: 1.888 MB / 420.6 MB, free: 8.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.6142, allocations: 8 kB / 420.6 MB, free: 8.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00382/0.618, allocations: 2.342 MB / 422.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.6181, allocations: 12 kB / 422.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.6181, allocations: 16 kB / 422.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000766/0.6189, allocations: 264.5 kB / 423.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.6201, allocations: 365.7 kB / 423.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005063/0.6252, allocations: 5.697 MB / 429.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.627, allocations: 84.02 kB / 429.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.6271, allocations: 64 kB / 429.4 MB, free: 15.82 MB / 334.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.002948/0.6301, allocations: 1.005 MB / 430.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004862/0.6306, allocations: 177.8 kB / 430.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004661/0.6352, allocations: 2.134 MB / 432.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.6353, allocations: 15.98 kB / 432.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.6353, allocations: 8 kB / 432.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.6353, allocations: 3.984 kB / 432.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009317/0.6446, allocations: 4.84 MB / 437.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.6447, allocations: 0 / 437.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/0.6455, allocations: 179.4 kB / 437.7 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/0.6468, allocations: 448.1 kB / 438.2 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.416e-05/0.6469, allocations: 35.98 kB / 438.2 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.6574, allocations: 10.09 MB / 448.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.6575, allocations: 4.031 kB / 448.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005634/0.6631, allocations: 3.029 MB / 451.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.6644, allocations: 402.8 kB / 451.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.6646, allocations: 31.98 kB / 451.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008481/0.6655, allocations: 75.94 kB / 451.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/0.6658, allocations: 96.38 kB / 451.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.782e-05/0.6659, allocations: 39.98 kB / 452 MB, free: 8.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002045/0.668, allocations: 1.18 MB / 453.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.668, allocations: 0 / 453.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00249/0.6705, allocations: 0.5425 MB / 453.7 MB, free: 6.738 MB / 350.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.0004123/0.6709, allocations: 158.7 kB / 453.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003744/0.6746, allocations: 2.087 MB / 455.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.6747, allocations: 8.062 kB / 455.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002847/0.6775, allocations: 1.529 MB / 457.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/0.6823, allocations: 485.8 kB / 458 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/0.6998, allocations: 6.959 MB / 464.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002422/0.7023, allocations: 2.227 MB / 467.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007352/0.703, allocations: 139.4 kB / 467.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of SimCode: time 2.004e-06/0.7031, allocations: 0 / 467.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of Templates: time 0.4566/1.16, allocations: 108.4 MB / 0.5622 GB, free: 129.3 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++ -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