Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 86.95 kB / 17.58 MB, free: 5.758 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.00137/0.00137, allocations: 183.5 kB / 18.48 MB, free: 5.207 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.635/1.635, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0004763/0.0004763, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 47.59 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005222/0.1274, allocations: 3.963 MB / 333 MB, free: 84 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.131, allocations: 1.606 MB / 334.6 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.1313, allocations: 19.94 kB / 334.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.1319, allocations: 194.8 kB / 334.8 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.1335, allocations: 0.5835 MB / 335.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.1339, allocations: 175.6 kB / 335.5 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.1365, allocations: 1.962 MB / 337.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.1377, allocations: 0.8618 MB / 338.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1388, allocations: 0.5953 MB / 338.9 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.14, allocations: 0.8211 MB / 339.8 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.1401, allocations: 84 kB / 339.8 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006006/0.1407, allocations: 203.8 kB / 340 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00046/0.1412, allocations: 418.6 kB / 340.5 MB, free: 8.543 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.1416, allocations: 324.8 kB / 340.8 MB, free: 8.219 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.1437, allocations: 2.034 MB / 342.8 MB, free: 6.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.1437, allocations: 7.938 kB / 342.8 MB, free: 6.172 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1437, allocations: 0 / 342.8 MB, free: 6.172 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.1437, allocations: 0 / 342.8 MB, free: 6.172 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004403/0.1481, allocations: 1.918 MB / 344.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.921e-05/0.1482, allocations: 8.031 kB / 344.7 MB, free: 4.191 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.15, allocations: 369.7 kB / 345.1 MB, free: 3.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.1518, allocations: 1.016 MB / 346.1 MB, free: 2.766 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.152, allocations: 102.7 kB / 346.2 MB, free: 2.664 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.1522, allocations: 128 kB / 346.3 MB, free: 2.539 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003591/0.1558, allocations: 1.882 MB / 348.2 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.1558, allocations: 4 kB / 348.2 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.156, allocations: 56 kB / 348.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-05/0.1561, allocations: 45.98 kB / 348.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/0.1591, allocations: 1.699 MB / 350 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009888/0.169, allocations: 5.634 MB / 355.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/0.1726, allocations: 2.905 MB / 358.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008628/0.1735, allocations: 0.5074 MB / 359.1 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002803/0.1763, allocations: 1.537 MB / 360.6 MB, free: 3.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.1764, allocations: 38.56 kB / 360.6 MB, free: 3.449 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 5.511e-06/0.1764, allocations: 7.984 kB / 360.7 MB, free: 3.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003348/0.1797, allocations: 1.481 MB / 362.1 MB, free: 1.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.1798, allocations: 81.11 kB / 362.2 MB, free: 1.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.1812, allocations: 1.024 MB / 363.2 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.1812, allocations: 41.64 kB / 363.3 MB, free: 0.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.1817, allocations: 0.6735 MB / 364 MB, free: 68 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.1819, allocations: 189.5 kB / 364.1 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.1819, allocations: 16 kB / 364.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1821, allocations: 334 kB / 364.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.1827, allocations: 369 kB / 364.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/0.1834, allocations: 0.5215 MB / 365.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/0.1842, allocations: 449.5 kB / 365.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.1842, allocations: 8 kB / 365.8 MB, free: 14.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001581/0.1858, allocations: 1.017 MB / 366.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.1858, allocations: 15.06 kB / 366.8 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.1858, allocations: 8 kB / 366.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1858, allocations: 12 kB / 366.9 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.1866, allocations: 183.7 kB / 367 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.1866, allocations: 11.98 kB / 367.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.1871, allocations: 95.28 kB / 367.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.1872, allocations: 27.98 kB / 367.2 MB, free: 12.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009052/0.1881, allocations: 0.5294 MB / 367.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.1883, allocations: 90.92 kB / 367.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.1895, allocations: 0.6941 MB / 368.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.1895, allocations: 7.984 kB / 368.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.1895, allocations: 4 kB / 368.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.1895, allocations: 3.953 kB / 368.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.1921, allocations: 1.668 MB / 370.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1921, allocations: 0 / 370.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.1925, allocations: 104 kB / 370.3 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/0.193, allocations: 148.7 kB / 370.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.193, allocations: 19.94 kB / 370.4 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/0.1961, allocations: 2.614 MB / 373 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1961, allocations: 0 / 373 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.1984, allocations: 1.515 MB / 374.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.1987, allocations: 188 kB / 374.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.1988, allocations: 19.95 kB / 374.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/0.1993, allocations: 71.92 kB / 374.8 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.1994, allocations: 55.86 kB / 374.9 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.1994, allocations: 16 kB / 374.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.2005, allocations: 0.7293 MB / 375.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2005, allocations: 0 / 375.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001124/0.2016, allocations: 358.4 kB / 376 MB, free: 3.684 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000288/0.2019, allocations: 135.2 kB / 376.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.2034, allocations: 0.795 MB / 376.9 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2034, allocations: 0 / 376.9 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.2046, allocations: 0.5955 MB / 377.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.2056, allocations: 167.2 kB / 377.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2104/0.416, allocations: 3.333 MB / 381 MB, free: 51.13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/0.4181, allocations: 1.462 MB / 382.5 MB, free: 50.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004632/0.4186, allocations: 66.31 kB / 382.5 MB, free: 50.42 MB / 318.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4186, allocations: 0 / 382.5 MB, free: 50.42 MB / 318.1 MB Notification: Performance of Templates: time 0.03981/0.4584, allocations: 19.49 MB / 402 MB, free: 41.02 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.Components.MultiPhaseInductanceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductanceCalcHelperMain.o] Error 1