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_MultiPhase.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_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|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_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|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_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 105.5 kB / 17.8 MB, free: 5.695 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.001493/0.001493, allocations: 190 kB / 18.72 MB, free: 4.781 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.064/2.064, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001409/0.001409, allocations: 47.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1642, allocations: 46.63 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.03765/0.2019, allocations: 28.96 MB / 356.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02711/0.2291, allocations: 8.012 MB / 364.2 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01233/0.2415, allocations: 163.4 kB / 364.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01086/0.2525, allocations: 1.655 MB / 366 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0189/0.2715, allocations: 2.374 MB / 368.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009993/0.2815, allocations: 1.626 MB / 370 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.389/0.6706, allocations: 10.66 MB / 380.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01985/0.6905, allocations: 7.98 MB / 388.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01245/0.703, allocations: 3.855 MB / 392.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.014/0.7171, allocations: 5.094 MB / 397.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006049/0.7232, allocations: 0.7923 MB / 398.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01043/0.7337, allocations: 1.17 MB / 399.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008248/0.742, allocations: 2.408 MB / 402 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01829/0.7604, allocations: 5.028 MB / 407 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02314/0.7836, allocations: 14.77 MB / 421.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-05/0.7837, allocations: 0 / 421.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.393e-06/0.7838, allocations: 3.984 kB / 421.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0009518/0.7847, allocations: 2.938 kB / 421.8 MB, free: 14.65 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.05109/0.8358, allocations: 10.94 MB / 432.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.36e-05/0.8359, allocations: 8.031 kB / 432.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01626/0.8522, allocations: 2.088 MB / 434.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02125/0.8735, allocations: 5.495 MB / 440.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001254/0.8748, allocations: 0.65 MB / 441 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005646/0.8805, allocations: 0.8396 MB / 441.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.051/0.9316, allocations: 11.45 MB / 453.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007838/0.9324, allocations: 15.03 kB / 453.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005167/0.9376, allocations: 355.9 kB / 453.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007034/0.9383, allocations: 373.5 kB / 454 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03605/0.9744, allocations: 9.667 MB / 463.7 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1119/1.086, allocations: 35.84 MB / 499.5 MB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02484/1.111, allocations: 16.96 MB / 0.5044 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009588/1.121, allocations: 3.509 MB / 0.5078 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03042/1.151, allocations: 9.775 MB / 0.5173 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/1.152, allocations: 72.97 kB / 0.5174 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=308): time 1.637e-05/1.152, allocations: 4 kB / 0.5174 GB, free: 0.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=360): time 0.05771/1.209, allocations: 15.48 MB / 0.5325 GB, free: 1.164 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/1.209, allocations: 90.22 kB / 0.5326 GB, free: 1.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3514/1.561, allocations: 4.513 MB / 0.537 GB, free: 149.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009788/1.562, allocations: 86.89 kB / 0.5371 GB, free: 149.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004317/1.566, allocations: 3.885 MB / 0.5409 GB, free: 147.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002061/1.568, allocations: 1.229 MB / 0.5421 GB, free: 146.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001815/1.57, allocations: 0.7865 MB / 0.5429 GB, free: 146.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/1.57, allocations: 302.9 kB / 0.5432 GB, free: 146 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004609/1.575, allocations: 1.913 MB / 0.545 GB, free: 145.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005468/1.58, allocations: 3.381 MB / 0.5483 GB, free: 142.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009263/1.59, allocations: 5.65 MB / 0.5538 GB, free: 138.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.06e-05/1.59, allocations: 19.75 kB / 0.5539 GB, free: 138.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01231/1.602, allocations: 6.556 MB / 0.5603 GB, free: 136.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/1.602, allocations: 24.53 kB / 0.5603 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.985e-05/1.602, allocations: 47.22 kB / 0.5603 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/1.604, allocations: 0.7471 MB / 0.5611 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004093/1.609, allocations: 1.074 MB / 0.5621 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/1.62, allocations: 10.18 MB / 0.5721 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006194/1.626, allocations: 237.8 kB / 0.5723 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/1.628, allocations: 209.7 kB / 0.5725 GB, free: 127.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * 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 (534): * Single equations (assignments): 526 * Array equations: 2 * 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 {(2,13,100.0%), (1,5,100.0%), (2,13,100.0%), (3,14,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007739/1.635, allocations: 2.543 MB / 0.575 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002575/1.638, allocations: 486.7 kB / 0.5754 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/1.651, allocations: 5.441 MB / 0.5807 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-05/1.651, allocations: 37.55 kB / 0.5808 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-05/1.651, allocations: 11.41 kB / 0.5808 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.556e-05/1.651, allocations: 18.98 kB / 0.5808 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03824/1.69, allocations: 12.96 MB / 0.5935 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.391e-05/1.69, allocations: 4 kB / 0.5935 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/1.693, allocations: 0.6088 MB / 0.5941 GB, free: 113.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002688/1.696, allocations: 0.9217 MB / 0.595 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006007/1.696, allocations: 83.97 kB / 0.595 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/1.712, allocations: 14.12 MB / 0.6088 GB, free: 98.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.712, allocations: 4 kB / 0.6088 GB, free: 98.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01664/1.729, allocations: 8.031 MB / 0.6167 GB, free: 89.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00406/1.733, allocations: 0.987 MB / 0.6176 GB, free: 88.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002564/1.736, allocations: 72 kB / 0.6177 GB, free: 88.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004605/1.74, allocations: 186.8 kB / 0.6179 GB, free: 88.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/1.741, allocations: 281.2 kB / 0.6182 GB, free: 88.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005153/1.742, allocations: 107.1 kB / 0.6183 GB, free: 88.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.009073/1.751, allocations: 3.071 MB / 0.6213 GB, free: 85.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.11e-07/1.751, allocations: 0 / 0.6213 GB, free: 85.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01207/1.763, allocations: 1.48 MB / 0.6227 GB, free: 83.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * 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 (284): * Single equations (assignments): 277 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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,13,100.0%), (2,13,100.0%), (4,33,93.8%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001896/1.765, allocations: 242.2 kB / 0.6229 GB, free: 83.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01342/1.779, allocations: 5.63 MB / 0.6284 GB, free: 77.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/1.779, allocations: 4 kB / 0.6284 GB, free: 77.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007358/1.786, allocations: 3.416 MB / 0.6318 GB, free: 74.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01242/1.799, allocations: 1.106 MB / 0.6328 GB, free: 73.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05531/1.854, allocations: 18.62 MB / 0.651 GB, free: 54.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01384/1.868, allocations: 4.952 MB / 0.6559 GB, free: 49.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00315/1.871, allocations: 363.3 kB / 0.6562 GB, free: 49.01 MB / 446.1 MB Notification: Performance of SimCode: time 4.779e-06/1.871, allocations: 0 / 0.6562 GB, free: 49.01 MB / 446.1 MB Notification: Performance of Templates: time 1.206/3.077, allocations: 339.8 MB / 0.9881 GB, free: 50.45 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.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_Generator_MultiPhaseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhaseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhaseCalcHelperMain.o] Error 1