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.001439/0.001439, allocations: 101.5 kB / 17.8 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.001605/0.001605, 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 1.812/1.812, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001244/0.001244, allocations: 48.12 kB / 280.6 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.138, allocations: 46.63 MB / 327.3 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.04201/0.1801, allocations: 36.68 MB / 364 MB, free: 24 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03366/0.2138, allocations: 9.904 MB / 373.9 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01172/0.2256, allocations: 223.2 kB / 374.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3074/0.5331, allocations: 8.531 MB / 382.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0198/0.5529, allocations: 3.609 MB / 386.2 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009885/0.5628, allocations: 2.242 MB / 388.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02914/0.592, allocations: 14.52 MB / 403 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04104/0.6331, allocations: 20.91 MB / 423.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0163/0.6495, allocations: 6.18 MB / 430.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01757/0.6671, allocations: 7.567 MB / 437.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009022/0.6762, allocations: 1.301 MB / 438.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01219/0.6884, allocations: 1.702 MB / 440.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009425/0.6979, allocations: 3.331 MB / 444 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02233/0.7203, allocations: 7.105 MB / 451.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03612/0.7564, allocations: 23.32 MB / 474.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.7565, allocations: 0 / 474.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.37e-06/0.7565, allocations: 0 / 474.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009993/0.7575, allocations: 3.938 kB / 474.4 MB, free: 11.36 MB / 382.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.06549/0.823, allocations: 16.08 MB / 490.5 MB, free: 11.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.192e-05/0.8231, allocations: 12.03 kB / 490.5 MB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04366/0.8668, allocations: 7.355 MB / 497.9 MB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0207/0.8875, allocations: 7.694 MB / 0.4937 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00125/0.8888, allocations: 0.9192 MB / 0.4946 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00717/0.896, allocations: 1.211 MB / 0.4958 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06634/0.9624, allocations: 19.25 MB / 0.5146 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006806/0.9631, allocations: 15.81 kB / 0.5146 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004657/0.9678, allocations: 0.4975 MB / 0.5151 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007796/0.9686, allocations: 0.6931 MB / 0.5158 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04565/1.014, allocations: 17.69 MB / 0.533 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.679/1.693, allocations: 63.88 MB / 0.5954 GB, free: 97.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03421/1.728, allocations: 38.71 MB / 0.6332 GB, free: 60.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00712/1.735, allocations: 4.237 MB / 0.6373 GB, free: 57.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02383/1.759, allocations: 12.35 MB / 0.6494 GB, free: 45.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.275e-05/1.759, allocations: 81.75 kB / 0.6495 GB, free: 45.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=408): time 7.214e-06/1.759, allocations: 0 / 0.6495 GB, free: 45.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=418): time 0.04648/1.805, allocations: 20.27 MB / 0.6693 GB, free: 24.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/1.805, allocations: 116.4 kB / 0.6694 GB, free: 24.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/1.816, allocations: 5.308 MB / 0.6746 GB, free: 19.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00124/1.817, allocations: 97.69 kB / 0.6747 GB, free: 18.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003458/1.82, allocations: 5.477 MB / 0.68 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002434/1.823, allocations: 1.454 MB / 0.6814 GB, free: 12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002327/1.825, allocations: 1.314 MB / 0.6827 GB, free: 10.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/1.825, allocations: 305.1 kB / 0.683 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00466/1.83, allocations: 2.949 MB / 0.6859 GB, free: 7.426 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006139/1.836, allocations: 5.679 MB / 0.6914 GB, free: 488 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01653/1.853, allocations: 9.186 MB / 0.7004 GB, free: 5.988 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002043/1.853, allocations: 28 kB / 0.7004 GB, free: 5.961 MB / 462.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.3665/2.22, allocations: 10.07 MB / 0.7103 GB, free: 141.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/2.22, allocations: 45.58 kB / 0.7103 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003017/2.22, allocations: 91.03 kB / 0.7104 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004095/2.224, allocations: 1.127 MB / 0.7115 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008499/2.233, allocations: 1.528 MB / 0.713 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/2.253, allocations: 12.53 MB / 0.7252 GB, free: 133.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007306/2.26, allocations: 363.3 kB / 0.7256 GB, free: 133.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001732/2.262, allocations: 347.6 kB / 0.7259 GB, free: 133.6 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.01187/2.274, allocations: 4.295 MB / 0.7301 GB, free: 131.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002139/2.276, allocations: 0.539 MB / 0.7306 GB, free: 131.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/2.289, allocations: 7.199 MB / 0.7377 GB, free: 128.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006773/2.296, allocations: 4.312 MB / 0.7419 GB, free: 126.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-05/2.296, allocations: 16.88 kB / 0.7419 GB, free: 126.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.127e-05/2.296, allocations: 21.72 kB / 0.7419 GB, free: 126.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03499/2.331, allocations: 17.16 MB / 0.7587 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/2.331, allocations: 4.281 kB / 0.7587 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0035/2.334, allocations: 0.6897 MB / 0.7593 GB, free: 119.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003767/2.338, allocations: 1.185 MB / 0.7605 GB, free: 118.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007583/2.339, allocations: 99.64 kB / 0.7606 GB, free: 118.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/2.358, allocations: 16.01 MB / 0.7762 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/2.358, allocations: 13.09 kB / 0.7762 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02117/2.379, allocations: 10.42 MB / 0.7864 GB, free: 91.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004009/2.383, allocations: 1.132 MB / 0.7875 GB, free: 90.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002406/2.386, allocations: 87.92 kB / 0.7876 GB, free: 90.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004833/2.391, allocations: 207.8 kB / 0.7878 GB, free: 90.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001438/2.392, allocations: 307.3 kB / 0.7881 GB, free: 90.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007559/2.393, allocations: 124 kB / 0.7882 GB, free: 89.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.01124/2.404, allocations: 3.546 MB / 0.7917 GB, free: 86.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.51e-07/2.404, allocations: 0 / 0.7917 GB, free: 86.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0159/2.42, allocations: 1.988 MB / 0.7936 GB, free: 84.38 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.001897/2.422, allocations: 298.2 kB / 0.7939 GB, free: 84.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01613/2.438, allocations: 7.898 MB / 0.8016 GB, free: 76.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/2.438, allocations: 4 kB / 0.8016 GB, free: 76.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007446/2.446, allocations: 4.132 MB / 0.8056 GB, free: 71.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01303/2.459, allocations: 1.356 MB / 0.807 GB, free: 70.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0524/2.511, allocations: 25.76 MB / 0.8321 GB, free: 44.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009106/2.52, allocations: 7.213 MB / 0.8392 GB, free: 37.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002848/2.523, allocations: 475.3 kB / 0.8396 GB, free: 37.02 MB / 462.1 MB Notification: Performance of SimCode: time 2.695e-06/2.523, allocations: 0 / 0.8396 GB, free: 37.02 MB / 462.1 MB Notification: Performance of Templates: time 1.68/4.203, allocations: 0.4991 GB / 1.339 GB, free: 97.13 MB / 0.4982 GB 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