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.001422/0.001422, 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.001575/0.001575, 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.822/1.822, allocations: 205.1 MB / 224.6 MB, free: 12.45 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.001778/0.001778, allocations: 39.94 kB / 280.6 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1506, allocations: 46.64 MB / 327.3 MB, free: 4.863 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.05545/0.2061, allocations: 40.52 MB / 367.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04151/0.2477, allocations: 10.96 MB / 378.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01432/0.2621, allocations: 243.2 kB / 379 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3693/0.6315, allocations: 7.375 MB / 386.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02052/0.6521, allocations: 3.311 MB / 389.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01075/0.6628, allocations: 2.126 MB / 391.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02822/0.6911, allocations: 12.72 MB / 404.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04619/0.7373, allocations: 19.22 MB / 423.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02037/0.7578, allocations: 5.52 MB / 429.3 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0192/0.7771, allocations: 6.893 MB / 436.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007976/0.7851, allocations: 1.188 MB / 437.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01328/0.7984, allocations: 1.602 MB / 439 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01018/0.8087, allocations: 3.041 MB / 442 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02685/0.8356, allocations: 6.504 MB / 448.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03482/0.8705, allocations: 20.82 MB / 469.3 MB, free: 400 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.8706, allocations: 4 kB / 469.3 MB, free: 396 kB / 366.1 MB Notification: Performance of FrontEnd: time 3.656e-06/0.8706, allocations: 7.938 kB / 469.3 MB, free: 388 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001085/0.8717, allocations: 0 / 469.3 MB, free: 388 kB / 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.06264/0.9344, allocations: 14.47 MB / 483.8 MB, free: 1.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.772e-05/0.9345, allocations: 8.031 kB / 483.8 MB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03918/0.9736, allocations: 6.147 MB / 490 MB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.021/0.9947, allocations: 6.972 MB / 496.9 MB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001247/0.996, allocations: 0.8528 MB / 497.8 MB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006728/1.003, allocations: 1.112 MB / 498.9 MB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06209/1.065, allocations: 17.19 MB / 0.504 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005551/1.065, allocations: 11.91 kB / 0.504 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005537/1.071, allocations: 469.8 kB / 0.5044 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008747/1.072, allocations: 0.6091 MB / 0.505 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04372/1.116, allocations: 15.58 MB / 0.5203 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7201/1.836, allocations: 58.59 MB / 0.5775 GB, free: 76.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01962/1.855, allocations: 20.93 MB / 0.5979 GB, free: 57.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006557/1.862, allocations: 3.373 MB / 0.6012 GB, free: 55.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02171/1.884, allocations: 9.696 MB / 0.6107 GB, free: 48.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/1.884, allocations: 68.44 kB / 0.6107 GB, free: 48.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 4.598e-06/1.884, allocations: 4 kB / 0.6107 GB, free: 48.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=346): time 0.03787/1.922, allocations: 16.91 MB / 0.6273 GB, free: 36.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/1.922, allocations: 125.1 kB / 0.6274 GB, free: 36.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008679/1.931, allocations: 5.416 MB / 0.6327 GB, free: 31.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008247/1.931, allocations: 81.7 kB / 0.6327 GB, free: 31.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003088/1.935, allocations: 5.334 MB / 0.638 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001441/1.936, allocations: 1.22 MB / 0.6391 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/1.938, allocations: 1.345 MB / 0.6405 GB, free: 23.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/1.938, allocations: 301.1 kB / 0.6407 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/1.942, allocations: 2.801 MB / 0.6435 GB, free: 20.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005479/1.947, allocations: 5.836 MB / 0.6492 GB, free: 12.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009758/1.957, allocations: 9.058 MB / 0.658 GB, free: 2.875 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.665e-05/1.957, allocations: 32 kB / 0.6581 GB, free: 2.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01848/1.976, allocations: 9.772 MB / 0.6676 GB, free: 9.633 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.865e-05/1.976, allocations: 52 kB / 0.6677 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002404/1.976, allocations: 100 kB / 0.6677 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/1.979, allocations: 0.938 MB / 0.6687 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005634/1.984, allocations: 1.583 MB / 0.6702 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/1.999, allocations: 9.787 MB / 0.6798 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007298/2.006, allocations: 435.1 kB / 0.6802 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001212/2.007, allocations: 360 kB / 0.6805 GB, free: 12.19 MB / 478.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.008947/2.016, allocations: 3.836 MB / 0.6843 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/2.018, allocations: 0.517 MB / 0.6848 GB, free: 7.934 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/2.029, allocations: 5.986 MB / 0.6906 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005359/2.035, allocations: 3.133 MB / 0.6937 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-05/2.035, allocations: 8 kB / 0.6937 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.895e-05/2.035, allocations: 19.94 kB / 0.6937 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03815/2.073, allocations: 14.84 MB / 0.7082 GB, free: 15.91 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/2.073, allocations: 8 kB / 0.7082 GB, free: 15.9 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00321/2.076, allocations: 0.5988 MB / 0.7088 GB, free: 15.33 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/2.079, allocations: 0.9165 MB / 0.7097 GB, free: 14.4 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000346/2.08, allocations: 75.98 kB / 0.7098 GB, free: 14.33 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/2.096, allocations: 12.9 MB / 0.7224 GB, free: 0.8359 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/2.096, allocations: 11.66 kB / 0.7224 GB, free: 0.8281 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3631/2.46, allocations: 8.66 MB / 0.7308 GB, free: 189.2 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003725/2.463, allocations: 1 MB / 0.7318 GB, free: 188.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/2.465, allocations: 72.66 kB / 0.7319 GB, free: 188.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002904/2.467, allocations: 196.7 kB / 0.7321 GB, free: 188.7 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008945/2.468, allocations: 255.1 kB / 0.7323 GB, free: 188.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002974/2.469, allocations: 103.4 kB / 0.7324 GB, free: 188.6 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008343/2.477, allocations: 3.586 MB / 0.7359 GB, free: 187.3 MB / 0.4982 GB Notification: Performance of sort global known variables: time 6.21e-07/2.477, allocations: 0 / 0.7359 GB, free: 187.3 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01104/2.488, allocations: 1.834 MB / 0.7377 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.001205/2.489, allocations: 276.5 kB / 0.738 GB, free: 187 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01229/2.502, allocations: 7.182 MB / 0.745 GB, free: 184.2 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/2.502, allocations: 3.25 kB / 0.745 GB, free: 184.2 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006073/2.508, allocations: 3.452 MB / 0.7483 GB, free: 182.5 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006885/2.515, allocations: 1.126 MB / 0.7494 GB, free: 182.2 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04963/2.564, allocations: 23.02 MB / 0.7719 GB, free: 169.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01428/2.579, allocations: 6.466 MB / 0.7782 GB, free: 164.6 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003319/2.582, allocations: 452.8 kB / 0.7787 GB, free: 164.2 MB / 0.4982 GB Notification: Performance of SimCode: time 1.653e-06/2.582, allocations: 0 / 0.7787 GB, free: 164.2 MB / 0.4982 GB Notification: Performance of Templates: time 1.047/3.63, allocations: 397.5 MB / 1.167 GB, free: 124.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