Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs|loadInertiaM.phi|loadInertiaM.w|loadInertiaMQS.phi|loadInertiaMQS.w|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs|loadInertiaM.phi|loadInertiaM.w|loadInertiaMQS.phi|loadInertiaMQS.w|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009842/0.000984, allocations: 84.14 kB / 17.58 MB, free: 5.758 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.00112/0.00112, allocations: 190.4 kB / 18.48 MB, free: 5.203 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.755/1.755, allocations: 205.4 MB / 224.6 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.000446/0.000446, allocations: 20 kB / 281.4 MB, free: 3.695 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1105, allocations: 47.58 MB / 329 MB, free: 4.039 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.03462/0.1452, allocations: 32.67 MB / 361.7 MB, free: 3.254 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02428/0.1695, allocations: 9.287 MB / 371 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007595/0.1772, allocations: 223.2 kB / 371.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007568/0.1848, allocations: 1.849 MB / 373 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01459/0.1994, allocations: 3.273 MB / 376.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008082/0.2075, allocations: 1.531 MB / 377.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3078/0.5153, allocations: 15.64 MB / 393.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0492/0.5646, allocations: 20.41 MB / 413.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01507/0.5797, allocations: 5.232 MB / 419.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0149/0.5947, allocations: 5.97 MB / 425.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004811/0.5995, allocations: 0.7969 MB / 425.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008278/0.6078, allocations: 1.156 MB / 427 MB, free: 376 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006061/0.6139, allocations: 2.56 MB / 429.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008615/0.6226, allocations: 2.657 MB / 432.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03268/0.6553, allocations: 22.65 MB / 454.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.6554, allocations: 4 kB / 454.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.005e-06/0.6554, allocations: 4 kB / 454.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.001016/0.6564, allocations: 3.938 kB / 454.9 MB, free: 8.625 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3387 * Number of variables: 3387 Notification: Performance of Generate backend data structure: time 0.04488/0.7013, allocations: 13.49 MB / 468.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.7014, allocations: 12.03 kB / 468.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04014/0.7415, allocations: 7.389 MB / 475.8 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/0.7622, allocations: 7.574 MB / 483.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001421/0.7637, allocations: 0.9221 MB / 484.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007014/0.7707, allocations: 1.21 MB / 485.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06485/0.8356, allocations: 19.16 MB / 0.4929 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009297/0.8366, allocations: 15.81 kB / 0.4929 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00566/0.8423, allocations: 0.5025 MB / 0.4934 GB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001052/0.8434, allocations: 0.6775 MB / 0.494 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04969/0.8931, allocations: 17.61 MB / 0.5112 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6209/1.514, allocations: 64.05 MB / 0.5738 GB, free: 91.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03172/1.546, allocations: 38.64 MB / 0.6115 GB, free: 54.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007414/1.553, allocations: 4.254 MB / 0.6157 GB, free: 52.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02297/1.576, allocations: 12.35 MB / 0.6277 GB, free: 43.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.809e-05/1.576, allocations: 81.59 kB / 0.6278 GB, free: 43.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=408): time 6.913e-06/1.576, allocations: 0 / 0.6278 GB, free: 43.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=418): time 0.05125/1.628, allocations: 21.75 MB / 0.649 GB, free: 22.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/1.628, allocations: 124.4 kB / 0.6492 GB, free: 22.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009748/1.638, allocations: 5.261 MB / 0.6543 GB, free: 16.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001324/1.639, allocations: 93.7 kB / 0.6544 GB, free: 16.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003858/1.643, allocations: 5.483 MB / 0.6597 GB, free: 11.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002403/1.645, allocations: 1.457 MB / 0.6612 GB, free: 9.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004607/1.646, allocations: 136 kB / 0.6613 GB, free: 9.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004108/1.646, allocations: 0.5715 MB / 0.6619 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004563/1.651, allocations: 2.926 MB / 0.6647 GB, free: 6.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007141/1.658, allocations: 5.66 MB / 0.6702 GB, free: 15.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008785/1.667, allocations: 4.172 MB / 0.6743 GB, free: 11.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.966e-05/1.667, allocations: 24 kB / 0.6743 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02446/1.691, allocations: 10.04 MB / 0.6841 GB, free: 0.918 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002108/1.692, allocations: 44 kB / 0.6842 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002919/1.692, allocations: 88.66 kB / 0.6843 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003907/1.696, allocations: 1.154 MB / 0.6854 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00717/1.703, allocations: 1.525 MB / 0.6869 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/1.723, allocations: 12.51 MB / 0.6991 GB, free: 1.051 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008225/1.732, allocations: 371.5 kB / 0.6995 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/1.734, allocations: 340 kB / 0.6998 GB, free: 364 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 412 * 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 (806): * Single equations (assignments): 797 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(10,53.0%) 46} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2836/2.017, allocations: 4.293 MB / 0.704 GB, free: 142.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001911/2.019, allocations: 0.5413 MB / 0.7045 GB, free: 142.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/2.034, allocations: 7.193 MB / 0.7115 GB, free: 140.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007377/2.042, allocations: 4.293 MB / 0.7157 GB, free: 138.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.019e-05/2.042, allocations: 17.7 kB / 0.7157 GB, free: 138.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-05/2.042, allocations: 19.56 kB / 0.7158 GB, free: 138.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03071/2.073, allocations: 17.16 MB / 0.7325 GB, free: 131.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/2.073, allocations: 5.438 kB / 0.7325 GB, free: 131.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/2.076, allocations: 0.6836 MB / 0.7332 GB, free: 131.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002837/2.078, allocations: 1.184 MB / 0.7343 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003663/2.079, allocations: 99.2 kB / 0.7344 GB, free: 130.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01475/2.094, allocations: 16 MB / 0.7501 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/2.094, allocations: 7.938 kB / 0.7501 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/2.108, allocations: 10.41 MB / 0.7602 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002953/2.111, allocations: 1.154 MB / 0.7614 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/2.112, allocations: 83.98 kB / 0.7614 GB, free: 110.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/2.115, allocations: 225.8 kB / 0.7616 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007063/2.115, allocations: 306.7 kB / 0.7619 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/2.116, allocations: 120 kB / 0.7621 GB, free: 110.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005526/2.121, allocations: 3.507 MB / 0.7655 GB, free: 106.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/2.121, allocations: 0 / 0.7655 GB, free: 106.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008599/2.13, allocations: 1.988 MB / 0.7674 GB, free: 104.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smpmQS.inertiaRotor.w,smpmQS.rotorCage.port_p.reference.gamma,loadInertiaMQS.phi,smpm.inertiaRotor.w,smpm.stator.zeroInductor.i0,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.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 (356): * Single equations (assignments): 346 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(10,52.0%) 46,(1,100.0%) 1,(1,100.0%) 5,(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.001022/2.131, allocations: 277.5 kB / 0.7677 GB, free: 104.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01168/2.143, allocations: 7.889 MB / 0.7754 GB, free: 96.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/2.143, allocations: 4 kB / 0.7754 GB, free: 96.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007779/2.15, allocations: 4.14 MB / 0.7794 GB, free: 92.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01059/2.161, allocations: 1.387 MB / 0.7808 GB, free: 90.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04909/2.21, allocations: 24.74 MB / 0.805 GB, free: 65.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009673/2.22, allocations: 7.216 MB / 0.812 GB, free: 58.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/2.222, allocations: 467.3 kB / 0.8124 GB, free: 58.26 MB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/2.222, allocations: 0 / 0.8124 GB, free: 58.26 MB / 462.1 MB Notification: Performance of Templates: time 1.387/3.609, allocations: 0.4978 GB / 1.31 GB, free: 99.19 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.o] Error 1