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.0008626/0.0008627, allocations: 94.62 kB / 17.96 MB, free: 5.734 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.0008735/0.0008736, allocations: 176 kB / 18.86 MB, free: 4.875 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.897/1.897, allocations: 205.4 MB / 225 MB, free: 13.08 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.0004915/0.0004915, allocations: 12 kB / 282.1 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 47.58 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04533/0.18, allocations: 38.98 MB / 368.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03288/0.2129, allocations: 10.88 MB / 379.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01603/0.2291, allocations: 239.2 kB / 379.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3351/0.5642, allocations: 2.181 MB / 381.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01911/0.5834, allocations: 3.276 MB / 385.2 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009146/0.5926, allocations: 1.931 MB / 387.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03146/0.624, allocations: 12.7 MB / 399.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0429/0.667, allocations: 22.22 MB / 422 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/0.6814, allocations: 4.548 MB / 426.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01497/0.6964, allocations: 5.641 MB / 432.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00513/0.7016, allocations: 0.7148 MB / 432.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.7135, allocations: 1.134 MB / 434.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007941/0.7215, allocations: 2.37 MB / 436.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01971/0.7413, allocations: 5.724 MB / 442.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03168/0.773, allocations: 20.23 MB / 462.4 MB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.7731, allocations: 0 / 462.4 MB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.86e-06/0.7731, allocations: 7.938 kB / 462.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001077/0.7742, allocations: 0 / 462.4 MB, free: 7.879 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: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.04932/0.8235, allocations: 12.04 MB / 474.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.8236, allocations: 12.03 kB / 474.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03772/0.8614, allocations: 6.172 MB / 480.6 MB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01952/0.8809, allocations: 7.004 MB / 487.6 MB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001213/0.8822, allocations: 0.8525 MB / 488.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005914/0.8881, allocations: 1.111 MB / 489.6 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05976/0.9479, allocations: 17.21 MB / 0.4949 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000584/0.9485, allocations: 11.81 kB / 0.4949 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005124/0.9537, allocations: 473.1 kB / 0.4954 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008225/0.9545, allocations: 0.613 MB / 0.496 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04326/0.9978, allocations: 15.61 MB / 0.5112 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.742/1.74, allocations: 58.8 MB / 0.5687 GB, free: 72.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02212/1.762, allocations: 20.95 MB / 0.5891 GB, free: 55.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008857/1.771, allocations: 3.406 MB / 0.5924 GB, free: 55.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02508/1.796, allocations: 9.706 MB / 0.6019 GB, free: 52.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.098e-05/1.796, allocations: 65.84 kB / 0.602 GB, free: 52.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 7.484e-06/1.796, allocations: 0 / 0.602 GB, free: 52.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=346): time 0.04726/1.843, allocations: 17.1 MB / 0.6187 GB, free: 42.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/1.844, allocations: 116.6 kB / 0.6188 GB, free: 42.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01296/1.857, allocations: 5.419 MB / 0.6241 GB, free: 39.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009754/1.858, allocations: 89.41 kB / 0.6242 GB, free: 39.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003861/1.862, allocations: 5.327 MB / 0.6294 GB, free: 34.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00167/1.863, allocations: 1.221 MB / 0.6306 GB, free: 33.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006463/1.864, allocations: 0.5204 MB / 0.6311 GB, free: 32.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/1.864, allocations: 301.1 kB / 0.6314 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004046/1.868, allocations: 2.812 MB / 0.6341 GB, free: 29.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005493/1.874, allocations: 5.868 MB / 0.6398 GB, free: 22.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.884, allocations: 9.101 MB / 0.6487 GB, free: 12.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.885, allocations: 32 kB / 0.6488 GB, free: 12.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01761/1.902, allocations: 9.827 MB / 0.6583 GB, free: 3.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/1.902, allocations: 48 kB / 0.6584 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002548/1.903, allocations: 106.3 kB / 0.6585 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/1.905, allocations: 0.9352 MB / 0.6594 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005503/1.911, allocations: 1.594 MB / 0.661 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/1.926, allocations: 9.788 MB / 0.6705 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007724/1.934, allocations: 451.2 kB / 0.671 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/1.935, allocations: 367.9 kB / 0.6713 GB, free: 5.559 MB / 462.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 (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01191/1.947, allocations: 3.831 MB / 0.675 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002519/1.95, allocations: 0.517 MB / 0.6756 GB, free: 1.309 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/1.966, allocations: 6.03 MB / 0.6814 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00666/1.972, allocations: 3.149 MB / 0.6845 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.127e-05/1.972, allocations: 12 kB / 0.6845 GB, free: 8.098 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.008e-05/1.973, allocations: 15.94 kB / 0.6845 GB, free: 8.082 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04098/2.014, allocations: 14.9 MB / 0.6991 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/2.014, allocations: 8.125 kB / 0.6991 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003143/2.017, allocations: 0.6054 MB / 0.6997 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003042/2.02, allocations: 0.9162 MB / 0.7006 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006199/2.02, allocations: 75.98 kB / 0.7007 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01943/2.04, allocations: 12.91 MB / 0.7133 GB, free: 10.08 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.578e-05/2.04, allocations: 14.94 kB / 0.7133 GB, free: 10.07 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02096/2.061, allocations: 8.733 MB / 0.7218 GB, free: 1.188 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004992/2.066, allocations: 1.037 MB / 0.7228 GB, free: 128 kB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002635/2.069, allocations: 67.94 kB / 0.7229 GB, free: 60 kB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3443/2.413, allocations: 216.9 kB / 0.7231 GB, free: 187.4 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/2.414, allocations: 257.7 kB / 0.7233 GB, free: 187.4 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002947/2.415, allocations: 101.1 kB / 0.7234 GB, free: 187.4 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01072/2.425, allocations: 3.589 MB / 0.7269 GB, free: 187.2 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.012e-06/2.425, allocations: 3.688 kB / 0.7269 GB, free: 187.2 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01119/2.437, allocations: 1.831 MB / 0.7287 GB, free: 187.2 MB / 0.4982 GB 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,8,100.0%), (1,4,100.0%), (1,8,100.0%), (3,4,77.8%), (8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/2.438, allocations: 270.2 kB / 0.729 GB, free: 187.1 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01504/2.453, allocations: 7.23 MB / 0.736 GB, free: 185.4 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/2.453, allocations: 3.969 kB / 0.736 GB, free: 185.4 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006813/2.46, allocations: 3.478 MB / 0.7394 GB, free: 183.7 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01366/2.473, allocations: 1.121 MB / 0.7405 GB, free: 183.4 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05205/2.525, allocations: 23.15 MB / 0.7631 GB, free: 170.4 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01607/2.542, allocations: 6.475 MB / 0.7695 GB, free: 168.1 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003697/2.545, allocations: 446.1 kB / 0.7699 GB, free: 168.1 MB / 0.4982 GB Notification: Performance of SimCode: time 2.164e-06/2.545, allocations: 0 / 0.7699 GB, free: 168.1 MB / 0.4982 GB Notification: Performance of Templates: time 1.032/3.578, allocations: 395.9 MB / 1.157 GB, free: 129.4 MB / 0.4982 GB 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++ -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.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