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.SMEE_Generator.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.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|Ptr|Pqs|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.strayReluctance.port_p.Phi.im|smee.stator.strayReluctance.port_p.Phi.re|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|Ptr|Pqs|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.strayReluctance.port_p.Phi.im|smee.stator.strayReluctance.port_p.Phi.re|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008325/0.0008329, allocations: 86.38 kB / 17.58 MB, free: 6.219 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.00083/0.00083, allocations: 187.8 kB / 18.48 MB, free: 5.379 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.667/1.667, allocations: 205.4 MB / 224.6 MB, free: 13.17 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.0004014/0.0004014, allocations: 12 kB / 281.4 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1056, allocations: 47.58 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03696/0.1426, allocations: 36.12 MB / 365.1 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02477/0.1674, allocations: 10.31 MB / 375.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01013/0.1776, allocations: 247.1 kB / 375.7 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009214/0.1869, allocations: 1.732 MB / 377.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0145/0.2014, allocations: 3.004 MB / 380.4 MB, free: 484 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2357/0.4371, allocations: 1.438 MB / 381.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02475/0.4619, allocations: 13.57 MB / 395.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03782/0.4998, allocations: 18.29 MB / 413.7 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0106/0.5104, allocations: 4.598 MB / 418.3 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/0.5212, allocations: 5.401 MB / 423.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003678/0.5249, allocations: 0.7188 MB / 424.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00728/0.5322, allocations: 1.098 MB / 425.5 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005584/0.5378, allocations: 2.317 MB / 427.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007377/0.5452, allocations: 2.407 MB / 430.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02601/0.5712, allocations: 20.22 MB / 450.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5713, allocations: 0 / 450.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5713, allocations: 0 / 450.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0008533/0.5721, allocations: 0 / 450.5 MB, free: 12.16 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: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.0376/0.6097, allocations: 12.17 MB / 462.6 MB, free: 40 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6098, allocations: 8.031 kB / 462.6 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03495/0.6448, allocations: 6.175 MB / 468.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0176/0.6624, allocations: 6.885 MB / 475.7 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009996/0.6635, allocations: 0.8477 MB / 476.5 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005345/0.6688, allocations: 1.107 MB / 477.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05196/0.7208, allocations: 17.12 MB / 494.8 MB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006608/0.7215, allocations: 23.75 kB / 494.8 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004581/0.7261, allocations: 469 kB / 495.3 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007177/0.7268, allocations: 0.6129 MB / 495.9 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03827/0.7651, allocations: 15.53 MB / 0.4994 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5568/1.322, allocations: 58.76 MB / 0.5568 GB, free: 97.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/1.339, allocations: 20.9 MB / 0.5772 GB, free: 81.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006215/1.345, allocations: 3.399 MB / 0.5805 GB, free: 80.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01823/1.364, allocations: 9.698 MB / 0.59 GB, free: 74.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/1.364, allocations: 69.31 kB / 0.5901 GB, free: 74.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=319): time 5.921e-06/1.364, allocations: 0 / 0.5901 GB, free: 74.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=346): time 0.03781/1.401, allocations: 17.79 MB / 0.6074 GB, free: 63.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/1.402, allocations: 113.3 kB / 0.6075 GB, free: 63.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009209/1.411, allocations: 5.384 MB / 0.6128 GB, free: 60.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009294/1.412, allocations: 82.77 kB / 0.6129 GB, free: 60.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003422/1.415, allocations: 5.335 MB / 0.6181 GB, free: 56.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001648/1.417, allocations: 1.225 MB / 0.6193 GB, free: 55.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/1.417, allocations: 134.8 kB / 0.6194 GB, free: 54.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004122/1.418, allocations: 0.5718 MB / 0.62 GB, free: 54.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004367/1.422, allocations: 2.792 MB / 0.6227 GB, free: 52.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00556/1.428, allocations: 5.833 MB / 0.6284 GB, free: 44.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005537/1.433, allocations: 4.049 MB / 0.6323 GB, free: 40.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.857e-05/1.433, allocations: 28 kB / 0.6324 GB, free: 40.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01603/1.449, allocations: 9.769 MB / 0.6419 GB, free: 31.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.087e-05/1.45, allocations: 49.86 kB / 0.642 GB, free: 30.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/1.45, allocations: 108 kB / 0.6421 GB, free: 30.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/1.452, allocations: 0.9443 MB / 0.643 GB, free: 29.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005149/1.457, allocations: 1.599 MB / 0.6445 GB, free: 28.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009888/1.467, allocations: 9.763 MB / 0.6541 GB, free: 18.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006638/1.473, allocations: 451 kB / 0.6545 GB, free: 17.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/1.475, allocations: 359.9 kB / 0.6549 GB, free: 17.37 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * 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 (821): * Single equations (assignments): 813 * 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: 3 * 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: 3 {(8,67.2%) 26,(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008353/1.483, allocations: 3.837 MB / 0.6586 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0018/1.485, allocations: 0.5131 MB / 0.6591 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/1.495, allocations: 6.031 MB / 0.665 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004902/1.5, allocations: 3.115 MB / 0.668 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-05/1.5, allocations: 12 kB / 0.668 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-05/1.5, allocations: 23.83 kB / 0.6681 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03234/1.533, allocations: 14.87 MB / 0.6826 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.533, allocations: 4 kB / 0.6826 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/1.535, allocations: 0.6099 MB / 0.6832 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002408/1.538, allocations: 0.9058 MB / 0.6841 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003071/1.538, allocations: 79.98 kB / 0.6841 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01532/1.553, allocations: 12.9 MB / 0.6967 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.554, allocations: 7.938 kB / 0.6967 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3187/1.872, allocations: 8.702 MB / 0.7052 GB, free: 138.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004061/1.876, allocations: 1.041 MB / 0.7063 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/1.878, allocations: 66.88 kB / 0.7063 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/1.881, allocations: 218.6 kB / 0.7065 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008856/1.882, allocations: 255.6 kB / 0.7068 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/1.882, allocations: 100.1 kB / 0.7069 GB, free: 138.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.008707/1.891, allocations: 3.544 MB / 0.7103 GB, free: 138.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.193e-06/1.891, allocations: 0 / 0.7103 GB, free: 138.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01115/1.902, allocations: 1.83 MB / 0.7121 GB, free: 138.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel) * 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 (301): * Single equations (assignments): 292 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8,(3,77.8%) 4,(8,62.5%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/1.903, allocations: 274.7 kB / 0.7124 GB, free: 138.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01384/1.917, allocations: 7.195 MB / 0.7194 GB, free: 136.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/1.917, allocations: 0 / 0.7194 GB, free: 136.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006459/1.923, allocations: 3.464 MB / 0.7228 GB, free: 134.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007531/1.931, allocations: 1.148 MB / 0.7239 GB, free: 134.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0388/1.97, allocations: 22.03 MB / 0.7454 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0082/1.978, allocations: 6.472 MB / 0.7517 GB, free: 119.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/1.98, allocations: 449 kB / 0.7522 GB, free: 119.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.803e-06/1.98, allocations: 0 / 0.7522 GB, free: 119.7 MB / 462.1 MB Notification: Performance of Templates: time 0.9774/2.958, allocations: 396.3 MB / 1.139 GB, free: 82.86 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.SMEE_GeneratorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o] Error 1