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.0009059/0.0009059, allocations: 98.47 kB / 17.96 MB, free: 5.77 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: 178.3 kB / 18.86 MB, free: 4.906 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.957/1.957, allocations: 205.4 MB / 225 MB, free: 13.09 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.0005239/0.0005238, allocations: 19.92 kB / 282.1 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1412, allocations: 47.58 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.06079/0.2021, allocations: 35.26 MB / 364.9 MB, free: 332 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03171/0.2339, allocations: 9.823 MB / 374.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009569/0.2435, allocations: 223.2 kB / 374.9 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.2538, allocations: 2.383 MB / 377.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02045/0.2743, allocations: 3.592 MB / 380.9 MB, free: 256 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2707/0.5451, allocations: 2.03 MB / 382.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02541/0.5705, allocations: 14.51 MB / 397.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04515/0.6157, allocations: 24.59 MB / 422 MB, free: 160 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01366/0.6294, allocations: 5.155 MB / 427.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0141/0.6436, allocations: 6.236 MB / 433.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004865/0.6485, allocations: 0.7969 MB / 434.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008262/0.6568, allocations: 1.19 MB / 435.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005945/0.6627, allocations: 2.616 MB / 438 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01755/0.6803, allocations: 6.286 MB / 444.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0364/0.7168, allocations: 22.68 MB / 467 MB, free: 5.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7168, allocations: 0 / 467 MB, free: 5.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.7168, allocations: 4 kB / 467 MB, free: 5.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.00101/0.7178, allocations: 0 / 467 MB, free: 5.133 MB / 366.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.05078/0.7687, allocations: 13.37 MB / 480.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.7687, allocations: 8.031 kB / 480.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04533/0.8141, allocations: 7.391 MB / 487.8 MB, free: 412 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02412/0.8382, allocations: 7.713 MB / 495.5 MB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001602/0.8399, allocations: 0.9249 MB / 496.4 MB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007436/0.8474, allocations: 1.214 MB / 497.6 MB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08531/0.9327, allocations: 19.25 MB / 0.5048 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007301/0.9335, allocations: 23.8 kB / 0.5048 GB, free: 3.355 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005204/0.9387, allocations: 0.5003 MB / 0.5053 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009241/0.9396, allocations: 0.6776 MB / 0.5059 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05259/0.9922, allocations: 17.72 MB / 0.5232 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.691/1.683, allocations: 64.08 MB / 0.5858 GB, free: 106.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03464/1.718, allocations: 38.69 MB / 0.6236 GB, free: 68.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007795/1.726, allocations: 4.265 MB / 0.6278 GB, free: 66.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02266/1.749, allocations: 12.36 MB / 0.6398 GB, free: 56.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/1.749, allocations: 81.81 kB / 0.6399 GB, free: 56.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=408): time 6.903e-06/1.749, allocations: 3.938 kB / 0.6399 GB, free: 56.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=418): time 0.04677/1.796, allocations: 20.35 MB / 0.6598 GB, free: 35.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/1.796, allocations: 120.4 kB / 0.6599 GB, free: 35.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00943/1.805, allocations: 5.316 MB / 0.6651 GB, free: 30.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001138/1.806, allocations: 93.7 kB / 0.6652 GB, free: 30.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003853/1.81, allocations: 5.483 MB / 0.6705 GB, free: 24.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002555/1.813, allocations: 1.459 MB / 0.672 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008561/1.814, allocations: 0.5205 MB / 0.6725 GB, free: 22.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.285e-05/1.814, allocations: 305.1 kB / 0.6728 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004397/1.818, allocations: 2.953 MB / 0.6756 GB, free: 19.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006355/1.824, allocations: 5.687 MB / 0.6812 GB, free: 12.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/1.837, allocations: 9.214 MB / 0.6902 GB, free: 2.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/1.837, allocations: 28 kB / 0.6902 GB, free: 2.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02576/1.863, allocations: 10.09 MB / 0.7001 GB, free: 7.973 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002075/1.863, allocations: 44 kB / 0.7001 GB, free: 7.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003019/1.863, allocations: 88 kB / 0.7002 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003862/1.867, allocations: 1.124 MB / 0.7013 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007312/1.875, allocations: 1.529 MB / 0.7028 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3686/2.243, allocations: 12.54 MB / 0.715 GB, free: 138 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006949/2.25, allocations: 374.2 kB / 0.7154 GB, free: 138 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001767/2.252, allocations: 348.6 kB / 0.7157 GB, free: 138 MB / 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 (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (10,46,53.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01375/2.266, allocations: 4.285 MB / 0.7199 GB, free: 136.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002151/2.268, allocations: 0.5406 MB / 0.7204 GB, free: 136.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01573/2.284, allocations: 7.22 MB / 0.7275 GB, free: 133.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006517/2.29, allocations: 4.309 MB / 0.7317 GB, free: 132 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.19e-05/2.29, allocations: 15.84 kB / 0.7317 GB, free: 132 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-05/2.29, allocations: 26.56 kB / 0.7317 GB, free: 132 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03407/2.325, allocations: 17.19 MB / 0.7485 GB, free: 124.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/2.325, allocations: 5.531 kB / 0.7485 GB, free: 124.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002859/2.327, allocations: 0.6892 MB / 0.7492 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003205/2.331, allocations: 1.177 MB / 0.7503 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004699/2.331, allocations: 106.6 kB / 0.7505 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/2.348, allocations: 16.03 MB / 0.7661 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/2.348, allocations: 3.5 kB / 0.7661 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/2.365, allocations: 10.45 MB / 0.7763 GB, free: 103 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003872/2.369, allocations: 1.153 MB / 0.7774 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001731/2.37, allocations: 80 kB / 0.7775 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003455/2.374, allocations: 227 kB / 0.7777 GB, free: 101.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000923/2.375, allocations: 299.4 kB / 0.778 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003203/2.375, allocations: 128 kB / 0.7781 GB, free: 101.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006834/2.382, allocations: 3.542 MB / 0.7816 GB, free: 97.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/2.382, allocations: 0 / 0.7816 GB, free: 97.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0115/2.394, allocations: 2 MB / 0.7836 GB, free: 95.8 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (10,46,52.0%), (1,1,100.0%), (1,5,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.00128/2.395, allocations: 279.4 kB / 0.7838 GB, free: 95.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01576/2.411, allocations: 7.93 MB / 0.7916 GB, free: 87.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.227e-05/2.411, allocations: 0 / 0.7916 GB, free: 87.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01007/2.421, allocations: 4.155 MB / 0.7956 GB, free: 83.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01322/2.434, allocations: 1.357 MB / 0.7969 GB, free: 81.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.052/2.486, allocations: 25.93 MB / 0.8223 GB, free: 55.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009002/2.495, allocations: 7.213 MB / 0.8293 GB, free: 48.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/2.498, allocations: 471.3 kB / 0.8298 GB, free: 48.24 MB / 462.1 MB Notification: Performance of SimCode: time 1.833e-06/2.498, allocations: 0 / 0.8298 GB, free: 48.24 MB / 462.1 MB Notification: Performance of Templates: time 1.59/4.088, allocations: 0.4974 GB / 1.327 GB, free: 89 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++ -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.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