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.001656/0.001657, allocations: 94.22 kB / 17.96 MB, free: 5.418 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.001723/0.001723, allocations: 176.3 kB / 18.86 MB, free: 4.637 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.157/2.157, allocations: 205.4 MB / 225 MB, free: 12.83 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.0005826/0.0005826, allocations: 16 kB / 282 MB, free: 3.355 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1441, allocations: 47.58 MB / 329.6 MB, free: 3.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.03804/0.1822, allocations: 27.84 MB / 357.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02636/0.2086, allocations: 7.957 MB / 365.4 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01034/0.2191, allocations: 159.4 kB / 365.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009379/0.2285, allocations: 1.644 MB / 367.2 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01633/0.2449, allocations: 2.366 MB / 369.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00881/0.2537, allocations: 1.599 MB / 371.2 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3608/0.6145, allocations: 10.66 MB / 381.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01646/0.631, allocations: 7.913 MB / 389.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008841/0.6399, allocations: 3.316 MB / 393.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01187/0.6518, allocations: 4.392 MB / 397.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004231/0.6561, allocations: 0.5416 MB / 398 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00681/0.6629, allocations: 0.9022 MB / 398.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004744/0.6677, allocations: 2.039 MB / 400.9 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01282/0.6806, allocations: 4.601 MB / 405.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01999/0.7006, allocations: 14.36 MB / 419.9 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.7007, allocations: 0 / 419.9 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.7007, allocations: 0 / 419.9 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008084/0.7015, allocations: 0 / 419.9 MB, free: 0.6055 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.03634/0.7379, allocations: 9.202 MB / 429.1 MB, free: 8.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.7379, allocations: 12.03 kB / 429.1 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/0.7528, allocations: 2.095 MB / 431.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01833/0.7712, allocations: 5.506 MB / 436.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/0.7723, allocations: 0.6469 MB / 437.4 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005021/0.7774, allocations: 0.8466 MB / 438.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04302/0.8204, allocations: 11.47 MB / 449.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006206/0.8211, allocations: 8 kB / 449.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004303/0.8254, allocations: 358.1 kB / 450 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006462/0.8261, allocations: 385.1 kB / 450.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03481/0.8609, allocations: 9.711 MB / 460.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09577/0.9567, allocations: 36.09 MB / 496.2 MB, free: 5.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0225/0.9793, allocations: 16.98 MB / 0.5012 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00834/0.9877, allocations: 3.548 MB / 0.5046 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02474/1.012, allocations: 9.808 MB / 0.5142 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.007e-05/1.013, allocations: 64.97 kB / 0.5143 GB, free: 4.797 MB / 430.1 MB Notification: Performance of pre-optimization done (n=308): time 7.334e-06/1.013, allocations: 4 kB / 0.5143 GB, free: 4.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=360): time 0.04611/1.059, allocations: 15.8 MB / 0.5297 GB, free: 4.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/1.059, allocations: 86.22 kB / 0.5298 GB, free: 4.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01528/1.074, allocations: 4.526 MB / 0.5342 GB, free: 208 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001236/1.076, allocations: 85.7 kB / 0.5343 GB, free: 116 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3386/1.414, allocations: 3.876 MB / 0.5381 GB, free: 148.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002067/1.416, allocations: 1.226 MB / 0.5393 GB, free: 147.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008831/1.417, allocations: 357.3 kB / 0.5396 GB, free: 147.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/1.417, allocations: 301.7 kB / 0.5399 GB, free: 147.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004995/1.422, allocations: 1.953 MB / 0.5418 GB, free: 147.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006438/1.429, allocations: 3.42 MB / 0.5452 GB, free: 144.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/1.44, allocations: 5.733 MB / 0.5508 GB, free: 140.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/1.44, allocations: 11.84 kB / 0.5508 GB, free: 140.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01818/1.458, allocations: 6.648 MB / 0.5573 GB, free: 137.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-05/1.459, allocations: 24.34 kB / 0.5573 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/1.459, allocations: 47.34 kB / 0.5573 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/1.461, allocations: 0.7505 MB / 0.5581 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004371/1.466, allocations: 1.083 MB / 0.5591 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/1.479, allocations: 10.2 MB / 0.5691 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0069/1.486, allocations: 253.2 kB / 0.5693 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/1.487, allocations: 207.3 kB / 0.5695 GB, free: 129.5 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.01128/1.499, allocations: 2.54 MB / 0.572 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003272/1.502, allocations: 494.5 kB / 0.5725 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/1.518, allocations: 5.522 MB / 0.5779 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.337e-05/1.518, allocations: 42.28 kB / 0.5779 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.931e-05/1.518, allocations: 11 kB / 0.5779 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-05/1.518, allocations: 18.7 kB / 0.5779 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03903/1.557, allocations: 13.04 MB / 0.5907 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.099e-05/1.557, allocations: 4 kB / 0.5907 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002986/1.56, allocations: 0.6203 MB / 0.5913 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002681/1.563, allocations: 0.9337 MB / 0.5922 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006597/1.564, allocations: 92.09 kB / 0.5923 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/1.58, allocations: 14.13 MB / 0.6061 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.58, allocations: 11.94 kB / 0.6061 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/1.594, allocations: 8.152 MB / 0.614 GB, free: 93.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003709/1.597, allocations: 0.9832 MB / 0.615 GB, free: 92.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001769/1.599, allocations: 72 kB / 0.6151 GB, free: 92.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003401/1.603, allocations: 215.7 kB / 0.6153 GB, free: 91.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008601/1.604, allocations: 278.2 kB / 0.6155 GB, free: 91.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002636/1.604, allocations: 108 kB / 0.6156 GB, free: 91.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005691/1.609, allocations: 3.071 MB / 0.6186 GB, free: 88.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.61, allocations: 0 / 0.6186 GB, free: 88.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008041/1.618, allocations: 1.482 MB / 0.6201 GB, free: 86.9 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.0007097/1.618, allocations: 234.5 kB / 0.6203 GB, free: 86.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009448/1.628, allocations: 5.716 MB / 0.6259 GB, free: 80.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.628, allocations: 0 / 0.6259 GB, free: 80.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00592/1.634, allocations: 3.461 MB / 0.6293 GB, free: 77.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01368/1.647, allocations: 1.107 MB / 0.6304 GB, free: 76.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04678/1.694, allocations: 18.8 MB / 0.6487 GB, free: 57.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00767/1.702, allocations: 4.942 MB / 0.6536 GB, free: 52.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002293/1.704, allocations: 367.4 kB / 0.6539 GB, free: 51.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/1.704, allocations: 4 kB / 0.6539 GB, free: 51.97 MB / 446.1 MB Notification: Performance of Templates: time 1.117/2.821, allocations: 338.5 MB / 0.9845 GB, free: 55.09 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