Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001614/0.001614, allocations: 197.9 kB / 18.73 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001658/0.001658, allocations: 47.92 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1679, allocations: 46.63 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.03193/0.1999, allocations: 23.71 MB / 351 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02265/0.2226, allocations: 7.036 MB / 358 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009138/0.2319, allocations: 123.5 kB / 358.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008608/0.2406, allocations: 1.348 MB / 359.5 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01456/0.2552, allocations: 2.051 MB / 361.5 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00891/0.2642, allocations: 1.338 MB / 362.9 MB, free: 1.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02221/0.2864, allocations: 7.769 MB / 370.6 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01365/0.3002, allocations: 4.554 MB / 375.2 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008277/0.3085, allocations: 2.658 MB / 377.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3493/0.6579, allocations: 3.577 MB / 381.4 MB, free: 17.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00651/0.6645, allocations: 0.5114 MB / 381.9 MB, free: 17.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00952/0.6741, allocations: 0.9619 MB / 382.9 MB, free: 17.97 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007971/0.6821, allocations: 1.748 MB / 384.6 MB, free: 17.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02137/0.7035, allocations: 3.384 MB / 388 MB, free: 17.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01922/0.7228, allocations: 9.537 MB / 397.6 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.7229, allocations: 3.25 kB / 397.6 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.7229, allocations: 0 / 397.6 MB, free: 16.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006013/0.7235, allocations: 3.375 kB / 397.6 MB, free: 16.14 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.03815/0.7617, allocations: 7.402 MB / 405 MB, free: 11.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.537e-05/0.7618, allocations: 9.656 kB / 405 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.7724, allocations: 1.22 MB / 406.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01552/0.788, allocations: 3.68 MB / 409.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008062/0.7888, allocations: 451.7 kB / 410.3 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004073/0.7929, allocations: 0.5537 MB / 410.9 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03683/0.8298, allocations: 7.288 MB / 418.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002954/0.8302, allocations: 15.17 kB / 418.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002411/0.8326, allocations: 231.8 kB / 418.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004043/0.833, allocations: 260.4 kB / 418.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02132/0.8543, allocations: 6.136 MB / 424.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06995/0.9243, allocations: 23.79 MB / 448.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/0.9365, allocations: 8.75 MB / 457.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005963/0.9425, allocations: 2.392 MB / 459.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01892/0.9615, allocations: 7.017 MB / 466.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.206e-05/0.9616, allocations: 68.5 kB / 466.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=238): time 4.448e-06/0.9616, allocations: 0 / 466.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=282): time 0.0443/1.006, allocations: 13.9 MB / 480.7 MB, free: 6.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.927e-05/1.006, allocations: 81.59 kB / 480.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/1.018, allocations: 3.49 MB / 484.3 MB, free: 2.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00105/1.019, allocations: 77.64 kB / 484.4 MB, free: 2.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003316/1.023, allocations: 2.686 MB / 487 MB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0021/1.025, allocations: 0.9579 MB / 488 MB, free: 15.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001652/1.026, allocations: 0.6371 MB / 488.6 MB, free: 14.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/1.027, allocations: 305.1 kB / 488.9 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00344/1.03, allocations: 1.566 MB / 490.5 MB, free: 12.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004886/1.035, allocations: 2.767 MB / 493.3 MB, free: 9.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0086/1.044, allocations: 4.635 MB / 497.9 MB, free: 4.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-05/1.044, allocations: 8 kB / 497.9 MB, free: 4.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01528/1.059, allocations: 5.516 MB / 0.4916 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.059, allocations: 24 kB / 0.4917 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/1.059, allocations: 36.62 kB / 0.4917 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002753/1.062, allocations: 0.6859 MB / 0.4924 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004797/1.067, allocations: 0.8695 MB / 0.4932 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/1.084, allocations: 9.602 MB / 0.5026 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005998/1.09, allocations: 223.7 kB / 0.5028 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/1.091, allocations: 168 kB / 0.503 GB, free: 2.832 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (429): * Single equations (assignments): 419 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(3,12,100.0%), (1,3,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006435/1.098, allocations: 1.628 MB / 0.5045 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002403/1.1, allocations: 387.3 kB / 0.5049 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/1.113, allocations: 4.56 MB / 0.5094 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.82e-05/1.113, allocations: 32 kB / 0.5094 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.135e-05/1.113, allocations: 8 kB / 0.5094 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.271e-05/1.113, allocations: 11.95 kB / 0.5094 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03098/1.144, allocations: 10.04 MB / 0.5192 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-05/1.144, allocations: 8.031 kB / 0.5192 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/1.147, allocations: 0.4985 MB / 0.5197 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/1.149, allocations: 0.7527 MB / 0.5205 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004336/1.15, allocations: 75.91 kB / 0.5205 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/1.167, allocations: 13.03 MB / 0.5333 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.496e-05/1.167, allocations: 11.75 kB / 0.5333 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3955/1.562, allocations: 6.658 MB / 0.5398 GB, free: 155.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004246/1.567, allocations: 0.783 MB / 0.5405 GB, free: 155 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001819/1.569, allocations: 61.55 kB / 0.5406 GB, free: 155 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003125/1.572, allocations: 174.2 kB / 0.5408 GB, free: 155 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007671/1.572, allocations: 204.9 kB / 0.541 GB, free: 155 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000277/1.573, allocations: 85.59 kB / 0.541 GB, free: 155 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006972/1.58, allocations: 2.356 MB / 0.5433 GB, free: 154.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.58, allocations: 0.5938 kB / 0.5433 GB, free: 154.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009038/1.589, allocations: 1.114 MB / 0.5444 GB, free: 154.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * 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 (238): * Single equations (assignments): 228 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001519/1.59, allocations: 277.3 kB / 0.5447 GB, free: 154.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01115/1.602, allocations: 4.709 MB / 0.5493 GB, free: 152.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.137e-05/1.602, allocations: 3.938 kB / 0.5493 GB, free: 152.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006546/1.608, allocations: 2.868 MB / 0.5521 GB, free: 150.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01065/1.619, allocations: 0.8534 MB / 0.5529 GB, free: 150.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03122/1.65, allocations: 12.98 MB / 0.5656 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007003/1.657, allocations: 3.421 MB / 0.5689 GB, free: 141.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002082/1.659, allocations: 286.5 kB / 0.5692 GB, free: 141.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.684e-06/1.659, allocations: 0 / 0.5692 GB, free: 141.5 MB / 446.1 MB Notification: Performance of Templates: time 0.7163/2.376, allocations: 239.6 MB / 0.8032 GB, free: 58.54 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.FundamentalWave.Examples.BasicMachines.SMEE_GeneratorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_GeneratorCalcHelperMain.o] Error 1