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.001639/0.001639, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.002033/0.002033, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.131/2.131, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001379/0.001379, allocations: 51.86 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1541, allocations: 46.63 MB / 327.3 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.00908/0.1632, allocations: 4.602 MB / 331.9 MB, free: 268 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.1685, allocations: 1.733 MB / 333.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.1697, allocations: 19.88 kB / 333.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.171, allocations: 222.9 kB / 333.8 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002996/0.1741, allocations: 0.6418 MB / 334.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008972/0.175, allocations: 227.5 kB / 334.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004189/0.1792, allocations: 2.16 MB / 336.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.1813, allocations: 1.043 MB / 337.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.1834, allocations: 0.677 MB / 338.6 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.1851, allocations: 0.9416 MB / 339.5 MB, free: 8.547 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002279/0.1853, allocations: 120 kB / 339.6 MB, free: 8.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009164/0.1862, allocations: 243.9 kB / 339.9 MB, free: 8.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006194/0.1869, allocations: 462.4 kB / 340.3 MB, free: 7.738 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.1882, allocations: 0.8162 MB / 341.1 MB, free: 6.918 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002462/0.1907, allocations: 2.077 MB / 343.2 MB, free: 4.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1907, allocations: 4 kB / 343.2 MB, free: 4.832 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1907, allocations: 0 / 343.2 MB, free: 4.832 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.348e-05/0.1908, allocations: 0 / 343.2 MB, free: 4.832 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.006765/0.1975, allocations: 2.172 MB / 345.4 MB, free: 2.605 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/0.1976, allocations: 12.03 kB / 345.4 MB, free: 2.594 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.1996, allocations: 366.6 kB / 345.8 MB, free: 2.234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.2018, allocations: 1.044 MB / 346.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.2019, allocations: 103 kB / 346.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.2021, allocations: 136.1 kB / 347 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004264/0.2064, allocations: 1.882 MB / 348.9 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.2065, allocations: 0 / 348.9 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.2066, allocations: 60 kB / 349 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.806e-05/0.2067, allocations: 45.98 kB / 349 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/0.2101, allocations: 1.684 MB / 350.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.2211, allocations: 5.587 MB / 356.3 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/0.2253, allocations: 2.912 MB / 359.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008858/0.2262, allocations: 499.3 kB / 359.7 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003234/0.2295, allocations: 1.537 MB / 361.2 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/0.2296, allocations: 42.56 kB / 361.3 MB, free: 1.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.986e-06/0.2296, allocations: 0 / 361.3 MB, free: 1.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003884/0.2335, allocations: 1.414 MB / 362.7 MB, free: 468 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.2336, allocations: 89.05 kB / 362.8 MB, free: 360 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.2359, allocations: 1.028 MB / 363.8 MB, free: 15.31 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.236, allocations: 33.7 kB / 363.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006837/0.2367, allocations: 0.6814 MB / 364.5 MB, free: 14.58 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.2369, allocations: 193.6 kB / 364.7 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.2372, allocations: 122.2 kB / 364.8 MB, free: 14.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.2374, allocations: 334 kB / 365.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007248/0.2381, allocations: 361 kB / 365.5 MB, free: 13.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/0.239, allocations: 0.517 MB / 366 MB, free: 12.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.2404, allocations: 0.8673 MB / 366.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.2405, allocations: 4 kB / 366.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002088/0.2426, allocations: 1.005 MB / 367.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.2426, allocations: 8 kB / 367.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.2426, allocations: 8 kB / 367.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.949e-05/0.2427, allocations: 15.94 kB / 367.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/0.2435, allocations: 175.8 kB / 368.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.043e-05/0.2435, allocations: 16.11 kB / 368.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/0.2443, allocations: 87.28 kB / 368.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.2444, allocations: 31.98 kB / 368.2 MB, free: 10.71 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001143/0.2455, allocations: 0.5211 MB / 368.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/0.2459, allocations: 94.88 kB / 368.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.2475, allocations: 0.6863 MB / 369.5 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.2475, allocations: 4 kB / 369.5 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/0.2475, allocations: 4 kB / 369.5 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.2475, allocations: 7.938 kB / 369.5 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004021/0.2515, allocations: 1.656 MB / 371.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.2516, allocations: 4 kB / 371.2 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.2521, allocations: 95.97 kB / 371.3 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005853/0.2527, allocations: 156.6 kB / 371.5 MB, free: 7.391 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/0.2528, allocations: 15.98 kB / 371.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004016/0.2568, allocations: 2.606 MB / 374.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2568, allocations: 4 kB / 374.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.26, allocations: 1.489 MB / 375.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005954/0.2606, allocations: 191.9 kB / 375.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.2609, allocations: 15.98 kB / 375.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/0.2616, allocations: 63.94 kB / 375.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.2618, allocations: 51.86 kB / 375.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/0.2618, allocations: 19.98 kB / 375.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00158/0.2634, allocations: 0.7293 MB / 376.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2634, allocations: 0 / 376.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001606/0.2651, allocations: 358.4 kB / 377 MB, free: 1.676 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004242/0.2655, allocations: 143 kB / 377.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.2673, allocations: 0.7762 MB / 377.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.2673, allocations: 0 / 377.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.2689, allocations: 0.5874 MB / 378.5 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2901/0.5589, allocations: 169.4 kB / 378.6 MB, free: 53.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008311/0.5674, allocations: 3.377 MB / 382 MB, free: 51.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/0.5694, allocations: 1.462 MB / 383.5 MB, free: 50.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/0.5698, allocations: 65.38 kB / 383.6 MB, free: 50.98 MB / 318.1 MB Notification: Performance of SimCode: time 1.874e-06/0.5698, allocations: 0 / 383.6 MB, free: 50.98 MB / 318.1 MB Notification: Performance of Templates: time 0.05268/0.6225, allocations: 19.64 MB / 403.2 MB, free: 40.53 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++ -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.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