Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 93.05 kB / 17.95 MB, free: 5.629 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.001746/0.001746, allocations: 180.6 kB / 18.86 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.275/2.275, 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.0005325/0.0005328, allocations: 8 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1418, allocations: 47.59 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter): time 0.02479/0.1667, allocations: 20.53 MB / 350.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02087/0.1877, allocations: 6.302 MB / 356.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007123/0.1949, allocations: 119.4 kB / 356.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006651/0.2016, allocations: 1.259 MB / 357.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0128/0.2144, allocations: 1.834 MB / 359.7 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006883/0.2214, allocations: 1.178 MB / 360.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01549/0.2369, allocations: 7.088 MB / 367.9 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01123/0.2482, allocations: 4.564 MB / 372.5 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0062/0.2544, allocations: 2.162 MB / 374.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007791/0.2623, allocations: 2.925 MB / 377.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003128/0.2655, allocations: 340 kB / 377.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005167/0.2707, allocations: 0.6324 MB / 378.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00435/0.275, allocations: 1.452 MB / 380 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3044/0.5794, allocations: 2.918 MB / 382.9 MB, free: 18.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01682/0.5963, allocations: 8.764 MB / 391.7 MB, free: 17.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5964, allocations: 0 / 391.7 MB, free: 17.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5964, allocations: 1.062 kB / 391.7 MB, free: 17.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005078/0.5969, allocations: 0 / 391.7 MB, free: 17.79 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.02088/0.6178, allocations: 5.809 MB / 397.5 MB, free: 14.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.6179, allocations: 10 kB / 397.5 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007426/0.6253, allocations: 1.071 MB / 398.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.6368, allocations: 3.451 MB / 402 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008089/0.6377, allocations: 417.4 kB / 402.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003113/0.6408, allocations: 0.5299 MB / 403 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02953/0.6704, allocations: 7.065 MB / 410 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005904/0.671, allocations: 17.2 kB / 410 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002926/0.674, allocations: 218.3 kB / 410.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004065/0.6744, allocations: 257.5 kB / 410.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01937/0.6938, allocations: 5.967 MB / 416.5 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06211/0.7559, allocations: 22.55 MB / 439 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.7675, allocations: 8.295 MB / 447.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004527/0.7721, allocations: 2.199 MB / 449.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01847/0.7906, allocations: 6.205 MB / 455.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.801e-05/0.7907, allocations: 59.19 kB / 455.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=220): time 4.499e-06/0.7907, allocations: 0 / 455.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of matching and sorting (n=240): time 0.03097/0.8217, allocations: 11.32 MB / 467.1 MB, free: 5.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.768e-05/0.8218, allocations: 77.41 kB / 467.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/0.832, allocations: 3.152 MB / 470.3 MB, free: 2.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008179/0.8329, allocations: 65.7 kB / 470.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002878/0.8358, allocations: 2.505 MB / 472.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001716/0.8376, allocations: 0.8323 MB / 473.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.8386, allocations: 252.3 kB / 474 MB, free: 14.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.8388, allocations: 301.1 kB / 474.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003575/0.8424, allocations: 1.349 MB / 475.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00543/0.8478, allocations: 2.355 MB / 478 MB, free: 9.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007154/0.855, allocations: 3.953 MB / 481.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/0.8551, allocations: 8 kB / 481.9 MB, free: 5.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.01046/0.8655, allocations: 4.741 MB / 486.7 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/0.8656, allocations: 20.12 kB / 486.7 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.8657, allocations: 32 kB / 486.7 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.8674, allocations: 0.5254 MB / 487.3 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/0.8704, allocations: 0.7566 MB / 488 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.8846, allocations: 9.435 MB / 497.5 MB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005742/0.8904, allocations: 187.8 kB / 497.6 MB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009274/0.8914, allocations: 140 kB / 497.8 MB, free: 5.297 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (380): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 5 systems {(3,12,100.0%), (1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006352/0.8977, allocations: 1.582 MB / 499.4 MB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/0.8993, allocations: 347.7 kB / 499.7 MB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009345/0.9086, allocations: 4.078 MB / 0.492 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-05/0.9088, allocations: 24 kB / 0.492 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/0.9088, allocations: 8 kB / 0.492 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.304e-05/0.9088, allocations: 15.89 kB / 0.492 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03978/0.9486, allocations: 9.009 MB / 0.5008 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.323e-05/0.9488, allocations: 4 kB / 0.5008 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/0.9519, allocations: 417.5 kB / 0.5012 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003217/0.9551, allocations: 0.7476 MB / 0.5019 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007088/0.9559, allocations: 59.98 kB / 0.502 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02494/0.9808, allocations: 15.33 MB / 0.517 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.9809, allocations: 6.719 kB / 0.517 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0202/1.001, allocations: 5.892 MB / 0.5227 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004472/1.006, allocations: 0.6959 MB / 0.5234 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002011/1.008, allocations: 62.89 kB / 0.5235 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003864/1.012, allocations: 155.8 kB / 0.5236 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007359/1.012, allocations: 180.6 kB / 0.5238 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000299/1.013, allocations: 71.97 kB / 0.5239 GB, free: 13.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007508/1.02, allocations: 2.127 MB / 0.5259 GB, free: 11.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.02e-07/1.02, allocations: 3 kB / 0.5259 GB, free: 11.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00968/1.03, allocations: 0.9884 MB / 0.5269 GB, free: 10.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],loadInertiaM.phi,loadInertiaE.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 (201): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,12,100.0%), (1,3,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/1.031, allocations: 252.2 kB / 0.5271 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01001/1.041, allocations: 4.159 MB / 0.5312 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/1.041, allocations: 4 kB / 0.5312 GB, free: 5.895 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005616/1.047, allocations: 2.769 MB / 0.5339 GB, free: 3.074 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008346/1.055, allocations: 0.9001 MB / 0.5348 GB, free: 2.176 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3531/1.409, allocations: 12.53 MB / 0.547 GB, free: 134.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005565/1.414, allocations: 3.326 MB / 0.5503 GB, free: 133.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/1.416, allocations: 273.6 kB / 0.5505 GB, free: 133.6 MB / 446.1 MB Notification: Performance of SimCode: time 2.634e-06/1.416, allocations: 0 / 0.5505 GB, free: 133.6 MB / 446.1 MB Notification: Performance of Templates: time 0.6758/2.092, allocations: 264.3 MB / 0.8086 GB, free: 74.73 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.SMPM_InverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_InverterCalcHelperMain.o] Error 1