Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008449/0.0008448, allocations: 91.61 kB / 16.95 MB, free: 5.547 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.0008321/0.0008321, allocations: 189.5 kB / 17.85 MB, free: 5.227 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.462/1.462, allocations: 223.2 MB / 241.9 MB, free: 368 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003228, allocations: 7 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 50.41 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003551/0.1408, allocations: 2.321 MB / 354.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1424, allocations: 0.7756 MB / 355 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1426, allocations: 7.938 kB / 355 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.1428, allocations: 39.7 kB / 355 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.1432, allocations: 99.34 kB / 355.1 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1435, allocations: 59.94 kB / 355.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004549/0.1439, allocations: 318.7 kB / 355.5 MB, free: 400 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.1442, allocations: 77.69 kB / 355.6 MB, free: 320 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.1444, allocations: 115.6 kB / 355.7 MB, free: 204 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1446, allocations: 135.4 kB / 355.8 MB, free: 68 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.1446, allocations: 12 kB / 355.8 MB, free: 56 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.381e-05/0.1447, allocations: 16 kB / 355.8 MB, free: 40 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.682e-05/0.1448, allocations: 51.84 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.338e-05/0.1449, allocations: 77.58 kB / 356 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.1452, allocations: 267.4 kB / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.1452, allocations: 0 / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1453, allocations: 0 / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1453, allocations: 0 / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001299/0.1466, allocations: 0.5572 MB / 356.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.73e-05/0.1466, allocations: 12.03 kB / 356.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.1467, allocations: 43.52 kB / 356.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.1472, allocations: 250.5 kB / 357.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.1472, allocations: 24.55 kB / 357.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.1473, allocations: 24 kB / 357.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.1479, allocations: 248.9 kB / 357.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.148, allocations: 4 kB / 357.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.148, allocations: 8 kB / 357.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.148, allocations: 8 kB / 357.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.1486, allocations: 226 kB / 357.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.1505, allocations: 1.001 MB / 358.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.151, allocations: 210.5 kB / 358.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.1513, allocations: 116.8 kB / 358.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/0.1514, allocations: 8.406 kB / 358.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1514, allocations: 30.56 kB / 359 MB, free: 12.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.804e-06/0.1514, allocations: 0 / 359 MB, free: 12.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.005086/0.1565, allocations: 1.555 MB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.1566, allocations: 59.39 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1569, allocations: 220.9 kB / 360.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.1569, allocations: 41.64 kB / 360.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.1571, allocations: 184.2 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.1572, allocations: 118.3 kB / 361.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.1572, allocations: 8 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.1574, allocations: 334.8 kB / 361.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.1577, allocations: 104.7 kB / 361.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.158, allocations: 169.4 kB / 361.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.1584, allocations: 123.8 kB / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1584, allocations: 0 / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001479/0.1599, allocations: 0.5412 MB / 362.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.1599, allocations: 4 kB / 362.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1599, allocations: 7.938 kB / 362.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.1612, allocations: 249.5 kB / 362.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.1615, allocations: 55.91 kB / 362.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005348/0.1669, allocations: 3.751 MB / 366.5 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.1672, allocations: 15.98 kB / 366.5 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.1673, allocations: 8 kB / 366.5 MB, free: 4.758 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002689/0.1675, allocations: 157.8 kB / 366.6 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.1676, allocations: 23.72 kB / 366.7 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1677, allocations: 38.95 kB / 366.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1677, allocations: 4 kB / 366.7 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.1677, allocations: 4 kB / 366.7 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.1678, allocations: 3.984 kB / 366.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.1699, allocations: 0.99 MB / 367.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1699, allocations: 0 / 367.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.1702, allocations: 47.91 kB / 367.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/0.1714, allocations: 245.5 kB / 368 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.1715, allocations: 12 kB / 368 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2514/0.4229, allocations: 3.727 MB / 371.7 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4229, allocations: 5.297 kB / 371.7 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.4249, allocations: 0.7327 MB / 372.5 MB, free: 22.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.425, allocations: 102.4 kB / 372.6 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.425, allocations: 9.328 kB / 372.6 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.4252, allocations: 13.42 kB / 372.6 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.4254, allocations: 32.17 kB / 372.6 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.4254, allocations: 10.59 kB / 372.6 MB, free: 22.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.4256, allocations: 166.5 kB / 372.8 MB, free: 22.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4256, allocations: 0 / 372.8 MB, free: 22.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006906/0.4263, allocations: 102.2 kB / 372.9 MB, free: 22.69 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001526/0.4264, allocations: 109.1 kB / 373 MB, free: 22.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.4275, allocations: 0.5655 MB / 373.6 MB, free: 22.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4275, allocations: 0 / 373.6 MB, free: 22.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006564/0.4282, allocations: 434.1 kB / 374 MB, free: 22.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.4286, allocations: 30.52 kB / 374 MB, free: 22.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.43, allocations: 0.8801 MB / 374.9 MB, free: 21.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4303, allocations: 0.7774 MB / 375.7 MB, free: 21.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.4304, allocations: 21.25 kB / 375.7 MB, free: 21.01 MB / 302.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4304, allocations: 1.031 kB / 375.7 MB, free: 21.01 MB / 302.1 MB Notification: Performance of Templates: time 0.01092/0.4413, allocations: 5.964 MB / 381.7 MB, free: 20.08 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.FluxTubes.Examples.BasicExamples.SaturatedInductorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductorCalcHelperMain.o] Error 1