Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 105.5 kB / 17.81 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.001973/0.001973, 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 1.968/1.968, 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.00138/0.00138, allocations: 43.94 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1556, allocations: 46.63 MB / 327.3 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter): time 0.02968/0.1853, allocations: 19.96 MB / 347.2 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02007/0.2055, allocations: 5.889 MB / 353.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006845/0.2125, allocations: 107.5 kB / 353.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006867/0.2194, allocations: 1.146 MB / 354.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.231, allocations: 1.729 MB / 356.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006031/0.2371, allocations: 1.143 MB / 357.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01433/0.2515, allocations: 6.656 MB / 363.9 MB, free: 120 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.2635, allocations: 4.495 MB / 368.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006322/0.2698, allocations: 2.358 MB / 370.7 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008107/0.278, allocations: 3.187 MB / 373.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00337/0.2814, allocations: 476 kB / 374.4 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005321/0.2868, allocations: 0.7652 MB / 375.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005207/0.292, allocations: 1.604 MB / 376.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01152/0.3036, allocations: 3.009 MB / 379.8 MB, free: 108 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3422/0.6459, allocations: 8.6 MB / 388.4 MB, free: 24.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.708e-05/0.646, allocations: 1.25 kB / 388.4 MB, free: 24.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.646, allocations: 0 / 388.4 MB, free: 24.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0007384/0.6468, allocations: 0 / 388.4 MB, free: 24.95 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: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.04098/0.6878, allocations: 6.574 MB / 394.9 MB, free: 22.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.128e-05/0.6879, allocations: 9.188 kB / 395 MB, free: 22.49 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.6983, allocations: 1.013 MB / 396 MB, free: 22.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/0.7117, allocations: 3.269 MB / 399.2 MB, free: 20.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008187/0.7126, allocations: 401 kB / 399.6 MB, free: 20.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004213/0.7168, allocations: 0.5005 MB / 400.1 MB, free: 20.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03206/0.7489, allocations: 6.777 MB / 406.9 MB, free: 17.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004845/0.7494, allocations: 10.97 kB / 406.9 MB, free: 17.26 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002951/0.7524, allocations: 207.1 kB / 407.1 MB, free: 17.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003115/0.7527, allocations: 244.2 kB / 407.4 MB, free: 17.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02144/0.7742, allocations: 5.742 MB / 413.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07098/0.8452, allocations: 21.1 MB / 434.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01354/0.8588, allocations: 8.538 MB / 442.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005288/0.8642, allocations: 2.115 MB / 444.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01774/0.882, allocations: 5.939 MB / 450.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.716e-05/0.8822, allocations: 56.56 kB / 450.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=205): time 6.352e-06/0.8822, allocations: 0 / 450.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=222): time 0.03039/0.9126, allocations: 10.26 MB / 461.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.9128, allocations: 77.41 kB / 461.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009438/0.9222, allocations: 2.9 MB / 464.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007036/0.923, allocations: 69.7 kB / 464.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002868/0.9259, allocations: 2.352 MB / 466.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001635/0.9276, allocations: 0.7632 MB / 467.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00226/0.9298, allocations: 0.5138 MB / 467.8 MB, free: 7.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.9301, allocations: 307.1 kB / 468.1 MB, free: 6.875 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003364/0.9335, allocations: 1.271 MB / 469.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004653/0.9381, allocations: 2.173 MB / 471.5 MB, free: 3.039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007228/0.9454, allocations: 3.671 MB / 475.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.17e-05/0.9455, allocations: 14.41 kB / 475.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01171/0.9572, allocations: 4.441 MB / 479.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.9573, allocations: 23.44 kB / 479.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.9575, allocations: 31.98 kB / 479.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/0.9591, allocations: 0.513 MB / 480.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/0.9622, allocations: 0.6878 MB / 480.9 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/0.9744, allocations: 9.34 MB / 490.2 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004658/0.9791, allocations: 175.7 kB / 490.4 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008899/0.9801, allocations: 131.9 kB / 490.5 MB, free: 15.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (348): * Single equations (assignments): 341 * 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,11,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.00672/0.9868, allocations: 1.525 MB / 492.1 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/0.9885, allocations: 312.2 kB / 492.4 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.9994, allocations: 3.868 MB / 496.2 MB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-05/0.9995, allocations: 24 kB / 496.3 MB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-05/0.9996, allocations: 8 kB / 496.3 MB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.504e-05/0.9997, allocations: 8.062 kB / 496.3 MB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0246/1.024, allocations: 8.488 MB / 0.4929 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.024, allocations: 4 kB / 0.4929 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/1.026, allocations: 388.5 kB / 0.4933 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/1.028, allocations: 0.7267 MB / 0.494 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000297/1.029, allocations: 61.94 kB / 0.4941 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01844/1.047, allocations: 15.21 MB / 0.5089 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/1.047, allocations: 4 kB / 0.5089 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.06, allocations: 5.543 MB / 0.5143 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002955/1.063, allocations: 0.6631 MB / 0.515 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001835/1.065, allocations: 59.92 kB / 0.515 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/1.067, allocations: 123.9 kB / 0.5152 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006118/1.067, allocations: 179.6 kB / 0.5153 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/1.068, allocations: 64.17 kB / 0.5154 GB, free: 8.809 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004275/1.072, allocations: 1.967 MB / 0.5173 GB, free: 6.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.072, allocations: 3.938 kB / 0.5173 GB, free: 6.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005441/1.077, allocations: 0.9298 MB / 0.5182 GB, free: 5.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],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 (185): * Single equations (assignments): 177 * 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,11,100.0%), (1,3,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,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.0007976/1.078, allocations: 244.6 kB / 0.5185 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00712/1.085, allocations: 3.952 MB / 0.5223 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.085, allocations: 4 kB / 0.5223 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2856/1.371, allocations: 2.646 MB / 0.5249 GB, free: 146.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006877/1.378, allocations: 0.8062 MB / 0.5257 GB, free: 146.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03321/1.411, allocations: 11.73 MB / 0.5372 GB, free: 141.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005941/1.417, allocations: 3.221 MB / 0.5403 GB, free: 140.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001958/1.419, allocations: 244.5 kB / 0.5405 GB, free: 140.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.382e-06/1.419, allocations: 0 / 0.5405 GB, free: 140.2 MB / 430.1 MB Notification: Performance of Templates: time 0.7098/2.129, allocations: 250.4 MB / 0.7851 GB, free: 50.57 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.SMR_InverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_InverterCalcHelperMain.o] Error 1