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.0008062/0.0008062, allocations: 90.42 kB / 17.58 MB, free: 5.801 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.0008137/0.0008137, allocations: 181.6 kB / 18.48 MB, free: 5.254 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.761/1.761, allocations: 205.4 MB / 224.6 MB, free: 13.06 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.0004412/0.0004412, allocations: 12 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1108, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02757/0.1384, allocations: 25.88 MB / 354.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01873/0.1571, allocations: 7.632 MB / 362.5 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006828/0.164, allocations: 163.4 kB / 362.7 MB, free: 2.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006288/0.1703, allocations: 1.39 MB / 364.1 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.182, allocations: 2.182 MB / 366.2 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005206/0.1872, allocations: 1.162 MB / 367.4 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01669/0.2039, allocations: 10.06 MB / 377.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2515/0.4555, allocations: 6.126 MB / 383.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008556/0.4641, allocations: 3.24 MB / 386.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01169/0.4758, allocations: 4.214 MB / 391 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004789/0.4807, allocations: 0.5405 MB / 391.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008438/0.4891, allocations: 0.8563 MB / 392.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005657/0.4948, allocations: 2.013 MB / 394.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00644/0.5013, allocations: 1.899 MB / 396.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01854/0.5199, allocations: 14.33 MB / 410.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5199, allocations: 2.812 kB / 410.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.52, allocations: 0 / 410.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0007557/0.5207, allocations: 0 / 410.7 MB, free: 6.125 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.03045/0.5512, allocations: 9.303 MB / 420 MB, free: 1.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/0.5513, allocations: 12.81 kB / 420 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/0.5648, allocations: 2.095 MB / 422.1 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01632/0.5812, allocations: 5.367 MB / 427.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009971/0.5822, allocations: 0.6568 MB / 428.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004083/0.5863, allocations: 0.8415 MB / 429 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04019/0.6265, allocations: 11.4 MB / 440.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004858/0.6271, allocations: 10.25 kB / 440.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003238/0.6303, allocations: 355.4 kB / 440.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004394/0.6308, allocations: 377.5 kB / 441.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02671/0.6575, allocations: 9.663 MB / 450.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07764/0.7352, allocations: 36.05 MB / 486.8 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0176/0.7528, allocations: 16.95 MB / 0.4919 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007154/0.76, allocations: 3.536 MB / 0.4954 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0211/0.7812, allocations: 9.826 MB / 0.505 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.444e-05/0.7813, allocations: 67.59 kB / 0.5051 GB, free: 5.836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=308): time 6.713e-06/0.7813, allocations: 0 / 0.5051 GB, free: 5.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=360): time 0.03994/0.8213, allocations: 15.85 MB / 0.5205 GB, free: 5.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.8214, allocations: 92.73 kB / 0.5206 GB, free: 5.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/0.8319, allocations: 4.477 MB / 0.525 GB, free: 1.258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007033/0.8326, allocations: 89.7 kB / 0.5251 GB, free: 1.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00314/0.8357, allocations: 3.886 MB / 0.5289 GB, free: 13.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001613/0.8374, allocations: 1.22 MB / 0.5301 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00056/0.8379, allocations: 92 kB / 0.5302 GB, free: 11.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003661/0.8383, allocations: 495.9 kB / 0.5306 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003783/0.8421, allocations: 1.93 MB / 0.5325 GB, free: 9.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004774/0.8469, allocations: 3.403 MB / 0.5358 GB, free: 5.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004433/0.8514, allocations: 2.514 MB / 0.5383 GB, free: 3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-05/0.8514, allocations: 12 kB / 0.5383 GB, free: 2.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.2617/1.113, allocations: 6.6 MB / 0.5447 GB, free: 146.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.113, allocations: 25.25 kB / 0.5448 GB, free: 146.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/1.113, allocations: 45.81 kB / 0.5448 GB, free: 146.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/1.116, allocations: 0.7453 MB / 0.5455 GB, free: 146.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00498/1.121, allocations: 1.089 MB / 0.5466 GB, free: 146.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/1.133, allocations: 10.18 MB / 0.5565 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005296/1.138, allocations: 249.4 kB / 0.5568 GB, free: 139.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008759/1.139, allocations: 203.9 kB / 0.557 GB, free: 139.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 (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.008618/1.148, allocations: 2.54 MB / 0.5595 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002561/1.15, allocations: 488.6 kB / 0.5599 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/1.164, allocations: 5.509 MB / 0.5653 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/1.164, allocations: 36.31 kB / 0.5653 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.594e-05/1.164, allocations: 15.81 kB / 0.5654 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-05/1.164, allocations: 16.41 kB / 0.5654 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03714/1.201, allocations: 13.02 MB / 0.5781 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.072e-05/1.201, allocations: 6.25 kB / 0.5781 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002926/1.204, allocations: 0.6277 MB / 0.5787 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/1.207, allocations: 0.9223 MB / 0.5796 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006216/1.207, allocations: 83.81 kB / 0.5797 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01637/1.224, allocations: 14.11 MB / 0.5935 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.224, allocations: 7.938 kB / 0.5935 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/1.238, allocations: 8.122 MB / 0.6014 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003151/1.241, allocations: 0.9832 MB / 0.6024 GB, free: 110.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001823/1.243, allocations: 72 kB / 0.6024 GB, free: 110.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003577/1.246, allocations: 211.8 kB / 0.6026 GB, free: 110.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007511/1.247, allocations: 286.3 kB / 0.6029 GB, free: 110.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003566/1.247, allocations: 108 kB / 0.603 GB, free: 110.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007306/1.255, allocations: 3.028 MB / 0.606 GB, free: 107.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.984e-06/1.255, allocations: 0 / 0.606 GB, free: 107.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008057/1.263, allocations: 1.473 MB / 0.6074 GB, free: 105.8 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 (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.0009804/1.264, allocations: 238.2 kB / 0.6076 GB, free: 105.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009781/1.274, allocations: 5.695 MB / 0.6132 GB, free: 99.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.274, allocations: 1.422 kB / 0.6132 GB, free: 99.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005892/1.28, allocations: 3.443 MB / 0.6166 GB, free: 96.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009772/1.289, allocations: 1.131 MB / 0.6177 GB, free: 95.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03602/1.325, allocations: 17.92 MB / 0.6352 GB, free: 77.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005201/1.331, allocations: 4.941 MB / 0.64 GB, free: 72.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/1.332, allocations: 363.4 kB / 0.6403 GB, free: 71.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.814e-06/1.333, allocations: 0 / 0.6403 GB, free: 71.77 MB / 446.1 MB Notification: Performance of Templates: time 0.8552/2.188, allocations: 338.9 MB / 0.9712 GB, free: 60.39 MB / 446.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++ 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_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