Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008674/0.0008675, allocations: 93.41 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001/0.001, allocations: 198 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002724, allocations: 8 kB / 307.3 MB, free: 1.578 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 51.49 MB / 358.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.3319/0.4701, allocations: 19.76 MB / 378.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0222/0.4923, allocations: 6.213 MB / 384.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007713/0.5001, allocations: 131.8 kB / 384.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008236/0.5084, allocations: 1.105 MB / 386 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01168/0.5201, allocations: 1.697 MB / 387.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004625/0.5248, allocations: 0.8961 MB / 388.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01431/0.5391, allocations: 6.608 MB / 395.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009251/0.5484, allocations: 3.752 MB / 399 MB, free: 1.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0058/0.5543, allocations: 2.139 MB / 401.1 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006989/0.5613, allocations: 2.809 MB / 403.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001688/0.563, allocations: 337 kB / 404.2 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003877/0.5669, allocations: 0.5956 MB / 404.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001869/0.5688, allocations: 1.432 MB / 406.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003476/0.5723, allocations: 1.198 MB / 407.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.5865, allocations: 8.809 MB / 416.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.5865, allocations: 0 / 416.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.578e-06/0.5866, allocations: 0 / 416.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005126/0.5871, allocations: 4 kB / 416.3 MB, free: 3.574 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.02092/0.608, allocations: 5.905 MB / 422.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.6081, allocations: 8.031 kB / 422.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007041/0.6151, allocations: 1.07 MB / 423.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009973/0.6251, allocations: 3.532 MB / 426.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000575/0.6258, allocations: 426.7 kB / 427.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002263/0.628, allocations: 0.5194 MB / 427.7 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02081/0.6489, allocations: 7.032 MB / 434.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/0.6491, allocations: 15.84 kB / 434.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006424/0.6498, allocations: 220 kB / 435 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003589/0.6502, allocations: 258.6 kB / 435.3 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/0.6674, allocations: 5.94 MB / 441.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06567/0.7331, allocations: 22.71 MB / 463.9 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.7454, allocations: 8.543 MB / 472.4 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005423/0.7509, allocations: 2.308 MB / 474.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01794/0.7689, allocations: 6.484 MB / 481.2 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.616e-05/0.769, allocations: 56.55 kB / 481.3 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=220): time 7.053e-06/0.7691, allocations: 0 / 481.3 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of matching and sorting (n=240): time 0.03053/0.7996, allocations: 11.24 MB / 492.5 MB, free: 5.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.7998, allocations: 81.36 kB / 492.6 MB, free: 4.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00943/0.8092, allocations: 3.145 MB / 495.8 MB, free: 1.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007858/0.8101, allocations: 69.7 kB / 495.8 MB, free: 1.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003078/0.8132, allocations: 2.51 MB / 498.3 MB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001664/0.8149, allocations: 0.8241 MB / 499.2 MB, free: 14.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005849/0.8155, allocations: 64 kB / 499.2 MB, free: 14.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00045/0.816, allocations: 432.6 kB / 499.6 MB, free: 13.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003434/0.8194, allocations: 1.341 MB / 0.4892 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004378/0.8238, allocations: 2.346 MB / 0.4915 GB, free: 9.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004245/0.8281, allocations: 1.728 MB / 0.4932 GB, free: 8.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.456e-05/0.8282, allocations: 11.94 kB / 0.4932 GB, free: 8 MB / 414.1 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.01169/0.8399, allocations: 4.733 MB / 0.4979 GB, free: 3.156 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/0.84, allocations: 16 kB / 0.4979 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.826e-05/0.8401, allocations: 36.03 kB / 0.4979 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.8416, allocations: 0.5509 MB / 0.4984 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003258/0.8449, allocations: 0.7449 MB / 0.4992 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.8563, allocations: 9.572 MB / 0.5085 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004346/0.8607, allocations: 191.7 kB / 0.5087 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009219/0.8617, allocations: 147.9 kB / 0.5088 GB, free: 7.215 MB / 430.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 (377): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005711/0.8674, allocations: 1.57 MB / 0.5104 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001903/0.8694, allocations: 351.8 kB / 0.5107 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.8808, allocations: 4.093 MB / 0.5147 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.779e-05/0.881, allocations: 28 kB / 0.5147 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.388e-05/0.881, allocations: 8 kB / 0.5147 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.291e-05/0.8811, allocations: 11.95 kB / 0.5148 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02717/0.9083, allocations: 9.026 MB / 0.5236 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/0.9084, allocations: 8 kB / 0.5236 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/0.9106, allocations: 415.9 kB / 0.524 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/0.9132, allocations: 0.7558 MB / 0.5247 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005094/0.9137, allocations: 63.98 kB / 0.5248 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4077/1.321, allocations: 15.47 MB / 0.5399 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.364e-05/1.322, allocations: 11.88 kB / 0.5399 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.335, allocations: 5.886 MB / 0.5456 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002848/1.338, allocations: 0.699 MB / 0.5463 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/1.339, allocations: 58.53 kB / 0.5464 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/1.341, allocations: 148.8 kB / 0.5465 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006784/1.342, allocations: 182.1 kB / 0.5467 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/1.342, allocations: 71.36 kB / 0.5468 GB, free: 126.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007407/1.35, allocations: 2.116 MB / 0.5488 GB, free: 126.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.382e-06/1.35, allocations: 0 / 0.5488 GB, free: 126.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009346/1.359, allocations: 1.002 MB / 0.5498 GB, free: 126 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 (198): * Single equations (assignments): 190 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 5,(3,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/1.36, allocations: 246.7 kB / 0.55 GB, free: 125.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009662/1.37, allocations: 4.153 MB / 0.5541 GB, free: 123.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/1.37, allocations: 13.34 kB / 0.5541 GB, free: 123.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004801/1.375, allocations: 2.76 MB / 0.5568 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008371/1.383, allocations: 0.9333 MB / 0.5577 GB, free: 122.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02951/1.413, allocations: 11.99 MB / 0.5694 GB, free: 115.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00541/1.418, allocations: 3.333 MB / 0.5727 GB, free: 114 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/1.42, allocations: 268.6 kB / 0.5729 GB, free: 114 MB / 446.1 MB Notification: Performance of SimCode: time 2.435e-06/1.42, allocations: 0 / 0.5729 GB, free: 114 MB / 446.1 MB Notification: Performance of Templates: time 0.5535/1.973, allocations: 265.4 MB / 0.8321 GB, free: 31.15 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_InverterCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_InverterCalcHelperMain.o] Error 1