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.001375/0.001375, allocations: 105.5 kB / 17.81 MB, free: 5.676 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.001985/0.001985, allocations: 194 kB / 18.72 MB, free: 4.762 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.024/2.024, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001607/0.001607, allocations: 55.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1561, allocations: 46.63 MB / 327.3 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter): time 0.03148/0.1876, allocations: 21.39 MB / 348.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0204/0.2081, allocations: 6.372 MB / 355 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008241/0.2165, allocations: 111.5 kB / 355.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007708/0.2242, allocations: 1.263 MB / 356.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01343/0.2377, allocations: 1.853 MB / 358.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006644/0.2444, allocations: 1.193 MB / 359.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01501/0.2594, allocations: 7.088 MB / 366.5 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01181/0.2712, allocations: 4.603 MB / 371.1 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006734/0.278, allocations: 2.506 MB / 373.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007961/0.286, allocations: 3.358 MB / 377 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002778/0.2888, allocations: 496 kB / 377.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0053/0.2941, allocations: 0.7847 MB / 378.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3463/0.6405, allocations: 1.674 MB / 379.9 MB, free: 20.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01542/0.6559, allocations: 3.179 MB / 383.1 MB, free: 20.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02392/0.6799, allocations: 9.006 MB / 392.1 MB, free: 19.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.68, allocations: 2.625 kB / 392.1 MB, free: 19.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.68, allocations: 3.562 kB / 392.1 MB, free: 19.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008305/0.6808, allocations: 0 / 392.1 MB, free: 19.67 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.04755/0.7284, allocations: 6.909 MB / 399 MB, free: 16.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/0.7285, allocations: 10.59 kB / 399 MB, free: 16.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009402/0.7379, allocations: 1.065 MB / 400.1 MB, free: 16.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.7528, allocations: 3.449 MB / 403.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007556/0.7536, allocations: 414.7 kB / 404 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003756/0.7574, allocations: 0.5275 MB / 404.5 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03214/0.7895, allocations: 7.05 MB / 411.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005079/0.7901, allocations: 12.72 kB / 411.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003124/0.7932, allocations: 221.4 kB / 411.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003609/0.7936, allocations: 257.3 kB / 412 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.8138, allocations: 5.943 MB / 418 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06787/0.8817, allocations: 22.43 MB / 440.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.8946, allocations: 8.288 MB / 448.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00513/0.8998, allocations: 2.173 MB / 450.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0194/0.9193, allocations: 6.187 MB / 457 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.485e-05/0.9194, allocations: 60.56 kB / 457.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=220): time 5.811e-06/0.9194, allocations: 0 / 457.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=240): time 0.03526/0.9547, allocations: 11.15 MB / 468.2 MB, free: 4.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.9549, allocations: 77.41 kB / 468.3 MB, free: 4.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/0.9649, allocations: 3.148 MB / 471.5 MB, free: 1.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006328/0.9656, allocations: 65.7 kB / 471.5 MB, free: 1.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003076/0.9686, allocations: 2.496 MB / 474 MB, free: 14.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001568/0.9702, allocations: 0.8321 MB / 474.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002166/0.9724, allocations: 0.5575 MB / 475.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.9726, allocations: 309.1 kB / 475.7 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003065/0.9757, allocations: 1.334 MB / 477.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004118/0.9798, allocations: 2.339 MB / 479.4 MB, free: 8.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007357/0.9872, allocations: 3.92 MB / 483.3 MB, free: 4.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.765e-05/0.9873, allocations: 8 kB / 483.3 MB, free: 4.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.01124/0.9985, allocations: 4.709 MB / 488 MB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/0.9986, allocations: 19.44 kB / 488 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.462e-05/0.9987, allocations: 32 kB / 488.1 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/1, allocations: 0.5344 MB / 488.6 MB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/1.003, allocations: 0.7446 MB / 489.4 MB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/1.015, allocations: 9.43 MB / 498.8 MB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004819/1.02, allocations: 179.8 kB / 499 MB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008441/1.021, allocations: 140 kB / 499.1 MB, free: 4.305 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.005612/1.026, allocations: 1.579 MB / 0.4889 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001785/1.028, allocations: 355.7 kB / 0.4893 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/1.038, allocations: 4.042 MB / 0.4932 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/1.039, allocations: 24 kB / 0.4933 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.557e-05/1.039, allocations: 11.94 kB / 0.4933 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.942e-05/1.039, allocations: 15.89 kB / 0.4933 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02533/1.064, allocations: 8.982 MB / 0.5021 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.616e-05/1.064, allocations: 8.047 kB / 0.5021 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/1.066, allocations: 414.6 kB / 0.5025 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/1.069, allocations: 0.7294 MB / 0.5032 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003629/1.069, allocations: 67.97 kB / 0.5032 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/1.089, allocations: 15.32 MB / 0.5182 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.089, allocations: 6.625 kB / 0.5182 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/1.103, allocations: 5.842 MB / 0.5239 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003449/1.107, allocations: 0.692 MB / 0.5246 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002013/1.109, allocations: 56 kB / 0.5246 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003289/1.112, allocations: 147.9 kB / 0.5248 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006991/1.113, allocations: 187.2 kB / 0.5249 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002894/1.113, allocations: 67.98 kB / 0.525 GB, free: 12.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006372/1.119, allocations: 2.127 MB / 0.5271 GB, free: 10.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.119, allocations: 2.906 kB / 0.5271 GB, free: 10.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006921/1.126, allocations: 0.9884 MB / 0.5281 GB, free: 9.422 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.001271/1.128, allocations: 259.8 kB / 0.5283 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009252/1.137, allocations: 4.124 MB / 0.5323 GB, free: 5.062 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.137, allocations: 0 / 0.5323 GB, free: 5.062 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00593/1.143, allocations: 2.765 MB / 0.535 GB, free: 2.246 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009199/1.152, allocations: 0.8944 MB / 0.5359 GB, free: 1.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3679/1.52, allocations: 12.29 MB / 0.5479 GB, free: 153.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007224/1.527, allocations: 3.332 MB / 0.5512 GB, free: 153 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/1.529, allocations: 266.4 kB / 0.5514 GB, free: 152.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.954e-06/1.529, allocations: 0 / 0.5514 GB, free: 152.9 MB / 446.1 MB Notification: Performance of Templates: time 0.7961/2.326, allocations: 265.1 MB / 0.8103 GB, free: 52.61 MB / 446.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