Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,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.stray.port_p.Phi.im|smee3.stator.stray.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.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,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.stray.port_p.Phi.im|smee3.stator.stray.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.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 94.36 kB / 16.95 MB, free: 5.566 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.002028/0.002027, allocations: 191.1 kB / 17.85 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 223.2 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004012, allocations: 4 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1513, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.2882/0.4395, allocations: 25.95 MB / 377.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01865/0.4582, allocations: 7.627 MB / 385.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007715/0.466, allocations: 177.6 kB / 385.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006931/0.4729, allocations: 1.393 MB / 387 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01232/0.4853, allocations: 2.201 MB / 389.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005903/0.4912, allocations: 1.139 MB / 390.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01849/0.5097, allocations: 10.04 MB / 400.4 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01302/0.5228, allocations: 6.234 MB / 406.7 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009245/0.5321, allocations: 3.246 MB / 409.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.5427, allocations: 4.209 MB / 414.1 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003285/0.546, allocations: 0.5352 MB / 414.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007529/0.5536, allocations: 0.8433 MB / 415.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003616/0.5572, allocations: 2.004 MB / 417.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005312/0.5625, allocations: 1.895 MB / 419.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02275/0.5853, allocations: 14.38 MB / 433.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.5854, allocations: 4 kB / 433.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.5854, allocations: 0 / 433.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000747/0.5861, allocations: 0 / 433.8 MB, free: 4.254 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.03249/0.6186, allocations: 9.323 MB / 443.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.6187, allocations: 11.97 kB / 443.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/0.6324, allocations: 2.092 MB / 445.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/0.6466, allocations: 5.584 MB / 450.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008291/0.6475, allocations: 0.6538 MB / 451.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003325/0.6509, allocations: 0.8436 MB / 452.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03088/0.6818, allocations: 11.42 MB / 463.7 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002686/0.6821, allocations: 4 kB / 463.7 MB, free: 6.082 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002269/0.6844, allocations: 360 kB / 464.1 MB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004313/0.6848, allocations: 377.5 kB / 464.4 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0279/0.7127, allocations: 9.7 MB / 474.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09804/0.8108, allocations: 36.05 MB / 0.4982 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02125/0.8321, allocations: 16.96 MB / 0.5148 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00834/0.8405, allocations: 3.567 MB / 0.5183 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02694/0.8675, allocations: 9.881 MB / 0.5279 GB, free: 6.113 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.376e-05/0.8677, allocations: 68.98 kB / 0.528 GB, free: 6.035 MB / 446.1 MB Notification: Performance of pre-optimization done (n=310): time 6.041e-06/0.8677, allocations: 0 / 0.528 GB, free: 6.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=362): time 0.6147/1.482, allocations: 15.76 MB / 0.5434 GB, free: 133.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/1.482, allocations: 91.36 kB / 0.5435 GB, free: 133.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009272/1.492, allocations: 4.476 MB / 0.5478 GB, free: 132.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007024/1.492, allocations: 87.16 kB / 0.5479 GB, free: 132.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003005/1.495, allocations: 3.871 MB / 0.5517 GB, free: 129.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001319/1.497, allocations: 1.232 MB / 0.5529 GB, free: 128.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/1.497, allocations: 91.69 kB / 0.553 GB, free: 128.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/1.497, allocations: 491.7 kB / 0.5535 GB, free: 127.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/1.501, allocations: 1.942 MB / 0.5554 GB, free: 127 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003699/1.504, allocations: 3.41 MB / 0.5587 GB, free: 124.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/1.508, allocations: 2.513 MB / 0.5611 GB, free: 123.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-05/1.508, allocations: 19.78 kB / 0.5612 GB, free: 123.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01119/1.519, allocations: 6.623 MB / 0.5676 GB, free: 120.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/1.519, allocations: 23.53 kB / 0.5677 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.68e-05/1.519, allocations: 47.03 kB / 0.5677 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/1.521, allocations: 0.75 MB / 0.5684 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003684/1.525, allocations: 1.069 MB / 0.5695 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009402/1.534, allocations: 10.19 MB / 0.5794 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005794/1.54, allocations: 255.7 kB / 0.5797 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009493/1.541, allocations: 201.7 kB / 0.5799 GB, free: 111.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * 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 (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006421/1.547, allocations: 2.537 MB / 0.5823 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001911/1.549, allocations: 496.4 kB / 0.5828 GB, free: 110.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009055/1.558, allocations: 5.555 MB / 0.5882 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.902e-05/1.558, allocations: 36 kB / 0.5883 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/1.558, allocations: 8 kB / 0.5883 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/1.558, allocations: 22.66 kB / 0.5883 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02293/1.581, allocations: 13.03 MB / 0.601 GB, free: 92.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/1.581, allocations: 4 kB / 0.601 GB, free: 92.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.584, allocations: 0.6286 MB / 0.6016 GB, free: 91.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/1.586, allocations: 0.918 MB / 0.6025 GB, free: 91.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002601/1.586, allocations: 87.88 kB / 0.6026 GB, free: 90.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/1.598, allocations: 14.12 MB / 0.6164 GB, free: 76.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.598, allocations: 4 kB / 0.6164 GB, free: 76.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/1.611, allocations: 8.153 MB / 0.6244 GB, free: 67.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003273/1.614, allocations: 0.9832 MB / 0.6253 GB, free: 66.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00137/1.615, allocations: 72 kB / 0.6254 GB, free: 66.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/1.618, allocations: 221.7 kB / 0.6256 GB, free: 66.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005686/1.619, allocations: 274.3 kB / 0.6259 GB, free: 66.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002106/1.619, allocations: 113.5 kB / 0.626 GB, free: 66.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004715/1.623, allocations: 3.02 MB / 0.6289 GB, free: 63.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.623, allocations: 4 kB / 0.6289 GB, free: 63.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007432/1.631, allocations: 1.477 MB / 0.6304 GB, free: 61.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.stray.Phi.re,smee3.stator.stray.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 (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%) 13,(2,100.0%) 13,(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008993/1.632, allocations: 256.8 kB / 0.6306 GB, free: 61.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00967/1.642, allocations: 5.722 MB / 0.6362 GB, free: 55.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.642, allocations: 0 / 0.6362 GB, free: 55.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004865/1.646, allocations: 3.427 MB / 0.6396 GB, free: 52.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005929/1.652, allocations: 1.111 MB / 0.6407 GB, free: 51.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02828/1.681, allocations: 17.91 MB / 0.6581 GB, free: 33.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004601/1.685, allocations: 4.948 MB / 0.663 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/1.687, allocations: 360.7 kB / 0.6633 GB, free: 27.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/1.687, allocations: 4 kB / 0.6633 GB, free: 27.69 MB / 446.1 MB Notification: Performance of Templates: time 1.034/2.721, allocations: 338.9 MB / 0.9943 GB, free: 54.68 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_PolyphaseCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_PolyphaseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_PolyphaseCalcHelperMain.o] Error 1