Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses.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.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.000944, allocations: 95.94 kB / 17.96 MB, free: 5.629 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.001864/0.001864, allocations: 176.2 kB / 18.86 MB, free: 4.777 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.137/2.137, allocations: 205.4 MB / 225 MB, free: 13.07 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.0004981/0.0004981, allocations: 12 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1293, allocations: 47.58 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses): time 0.01619/0.1456, allocations: 12.76 MB / 342.4 MB, free: 6.914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.1598, allocations: 4.76 MB / 347.1 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00395/0.1638, allocations: 71.69 kB / 347.2 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004514/0.1683, allocations: 0.8901 MB / 348.1 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006943/0.1753, allocations: 1.255 MB / 349.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.1787, allocations: 0.8967 MB / 350.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008849/0.1876, allocations: 4.624 MB / 354.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00469/0.1923, allocations: 2.71 MB / 357.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003867/0.1962, allocations: 1.408 MB / 359 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004956/0.2012, allocations: 1.91 MB / 360.9 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008947/0.2021, allocations: 224 kB / 361.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.2047, allocations: 0.5931 MB / 361.7 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.2059, allocations: 0.9534 MB / 362.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003821/0.2098, allocations: 1.964 MB / 364.6 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008049/0.2178, allocations: 5.96 MB / 370.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2179, allocations: 0 / 370.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.2179, allocations: 0 / 370.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000264/0.2182, allocations: 0 / 370.6 MB, free: 10.54 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.01393/0.2321, allocations: 4.217 MB / 374.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.2322, allocations: 12.03 kB / 374.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005923/0.2381, allocations: 0.8857 MB / 375.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006234/0.2444, allocations: 2.549 MB / 378.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.2447, allocations: 254.6 kB / 378.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009171/0.2456, allocations: 339.9 kB / 378.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3604/0.606, allocations: 4.555 MB / 383.4 MB, free: 30.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.6061, allocations: 2.812 kB / 383.4 MB, free: 30.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004041/0.6065, allocations: 141.1 kB / 383.5 MB, free: 30.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003578/0.6069, allocations: 155.5 kB / 383.7 MB, free: 30.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.6193, allocations: 3.927 MB / 387.6 MB, free: 30.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0391/0.6584, allocations: 14.27 MB / 401.9 MB, free: 23.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009099/0.6676, allocations: 6.984 MB / 408.9 MB, free: 17.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003787/0.6715, allocations: 1.697 MB / 410.6 MB, free: 16.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.6819, allocations: 4.261 MB / 414.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.682, allocations: 53.92 kB / 414.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=165): time 5.47e-06/0.682, allocations: 2.516 kB / 414.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=185): time 0.01877/0.7008, allocations: 7.921 MB / 422.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.7009, allocations: 73.41 kB / 422.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004621/0.7055, allocations: 2.627 MB / 425.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.7057, allocations: 58.25 kB / 425.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.7068, allocations: 1.617 MB / 427.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004631/0.7073, allocations: 0.6222 MB / 427.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.7076, allocations: 161.6 kB / 428 MB, free: 1.133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.7077, allocations: 301.1 kB / 428.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.7091, allocations: 0.9215 MB / 429.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/0.7113, allocations: 1.313 MB / 430.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/0.7152, allocations: 2.383 MB / 432.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.7153, allocations: 4 kB / 432.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006294/0.7216, allocations: 3.095 MB / 436 MB, free: 8.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.7216, allocations: 15.98 kB / 436 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.7217, allocations: 8 kB / 436 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.7233, allocations: 0.5526 MB / 436.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.7251, allocations: 442.3 kB / 437 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009485/0.7346, allocations: 6.948 MB / 443.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/0.7369, allocations: 87.84 kB / 444 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.7371, allocations: 81.55 kB / 444.1 MB, free: 0.6016 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (8,33,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003291/0.7404, allocations: 1.164 MB / 445.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008623/0.7413, allocations: 250.9 kB / 445.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006142/0.7474, allocations: 2.913 MB / 448.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.274e-05/0.7475, allocations: 20 kB / 448.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-05/0.7475, allocations: 15.92 kB / 448.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/0.7476, allocations: 11.97 kB / 448.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/0.7646, allocations: 6.364 MB / 454.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.7647, allocations: 0 / 454.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.7664, allocations: 290.3 kB / 455.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00213/0.7686, allocations: 0.6133 MB / 455.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/0.7689, allocations: 51.98 kB / 455.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/0.7853, allocations: 10.5 MB / 466.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.7854, allocations: 7.406 kB / 466.3 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/0.7959, allocations: 4.192 MB / 470.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00212/0.7981, allocations: 0.5486 MB / 471 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009522/0.7991, allocations: 32 kB / 471 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/0.801, allocations: 95.94 kB / 471.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005764/0.8016, allocations: 138.4 kB / 471.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/0.8018, allocations: 51.98 kB / 471.3 MB, free: 4.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004914/0.8067, allocations: 1.842 MB / 473.2 MB, free: 3.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.721e-06/0.8068, allocations: 0 / 473.2 MB, free: 3.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004284/0.8111, allocations: 0.704 MB / 473.9 MB, free: 2.336 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,loadInertia.phi,PI.x) * 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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001731/0.8128, allocations: 434.8 kB / 474.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006826/0.8197, allocations: 2.863 MB / 477.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.8197, allocations: 0 / 477.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004048/0.8238, allocations: 1.95 MB / 479.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005502/0.8293, allocations: 0.5543 MB / 479.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/0.8511, allocations: 8.784 MB / 488.4 MB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004632/0.8558, allocations: 2.57 MB / 491 MB, free: 1.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/0.857, allocations: 179.4 kB / 491.2 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.857, allocations: 0 / 491.2 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of Templates: time 0.4669/1.324, allocations: 99.59 MB / 0.5769 GB, free: 113.5 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses.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.AIMC_withLossesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLossesCalcHelperMain.o] Error 1