Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009343, allocations: 96.06 kB / 17.96 MB, free: 5.43 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.001198/0.001198, 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.22/2.22, allocations: 205.4 MB / 225 MB, free: 13 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.0006385/0.0006387, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1272, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01072/0.138, allocations: 9.838 MB / 339.5 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01377/0.1518, allocations: 6.612 MB / 346.1 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.1545, allocations: 35.81 kB / 346.1 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.1565, allocations: 393.3 kB / 346.5 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004377/0.1609, allocations: 0.7801 MB / 347.3 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006888/0.1678, allocations: 2.039 MB / 349.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007558/0.1754, allocations: 3.387 MB / 352.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.1774, allocations: 0.6425 MB / 353.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.1802, allocations: 1.062 MB / 354.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/0.1831, allocations: 1.303 MB / 355.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.1842, allocations: 148 kB / 355.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.1867, allocations: 391.5 kB / 356.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.1878, allocations: 0.5563 MB / 356.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002183/0.19, allocations: 1.23 MB / 358 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00303/0.193, allocations: 2.995 MB / 361 MB, free: 4.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.193, allocations: 0 / 361 MB, free: 4.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1931, allocations: 0 / 361 MB, free: 4.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.856e-05/0.1931, allocations: 0 / 361 MB, free: 4.215 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.006707/0.1998, allocations: 2.643 MB / 363.7 MB, free: 1.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1999, allocations: 8.031 kB / 363.7 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005214/0.2004, allocations: 277.7 kB / 363.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.2025, allocations: 1.358 MB / 365.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/0.2028, allocations: 241.5 kB / 365.5 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005472/0.2033, allocations: 243.9 kB / 365.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004006/0.2074, allocations: 2.189 MB / 368 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/0.2074, allocations: 3.938 kB / 368 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.2076, allocations: 84 kB / 368 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.2077, allocations: 48 kB / 368.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003929/0.2116, allocations: 1.955 MB / 370 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.225, allocations: 7.896 MB / 377.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003771/0.2288, allocations: 2.104 MB / 380 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2896/0.5185, allocations: 1.254 MB / 381.3 MB, free: 34.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.5187, allocations: 28.61 kB / 381.3 MB, free: 34.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.354e-05/0.5188, allocations: 64.28 kB / 381.4 MB, free: 34.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 5.189e-06/0.5188, allocations: 0 / 381.4 MB, free: 34.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05779/0.5766, allocations: 14.8 MB / 396.2 MB, free: 32.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/0.5768, allocations: 396 kB / 396.6 MB, free: 32.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.5791, allocations: 1.517 MB / 398.1 MB, free: 31.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002002/0.5794, allocations: 72.2 kB / 398.2 MB, free: 31.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/0.58, allocations: 0.8213 MB / 399 MB, free: 31.42 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007076/0.5807, allocations: 0.834 MB / 399.8 MB, free: 30.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.581, allocations: 197.2 kB / 400 MB, free: 30.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.5811, allocations: 305 kB / 400.3 MB, free: 30.37 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/0.583, allocations: 1.018 MB / 401.3 MB, free: 29.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.5851, allocations: 1.284 MB / 402.6 MB, free: 29.39 MB / 318.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.03124/0.6164, allocations: 9.708 MB / 412.3 MB, free: 20.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.6164, allocations: 3.719 kB / 412.3 MB, free: 20.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005991/0.6224, allocations: 3.004 MB / 415.3 MB, free: 17.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.6224, allocations: 8 kB / 415.3 MB, free: 17.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/0.6225, allocations: 4 kB / 415.3 MB, free: 17.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009298/0.6234, allocations: 372.4 kB / 415.7 MB, free: 17.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/0.6259, allocations: 0.5665 MB / 416.3 MB, free: 16.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007397/0.6333, allocations: 10.02 MB / 426.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/0.6359, allocations: 147.9 kB / 426.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.6361, allocations: 83.95 kB / 426.5 MB, free: 5.527 MB / 318.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.winding13.i = transformer.I1Start[3] transformer.winding12.i = transformer.I1Start[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (diode6.off,diode5.off,diode4.off,diode3.off,diode2.off,diode1.off,transformer.core3.asc,transformer.core2.asc,transformer.core1.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001274/0.6374, allocations: 467.8 kB / 427 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004115/0.6378, allocations: 217.5 kB / 427.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008141/0.6459, allocations: 3.549 MB / 430.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.646, allocations: 28 kB / 430.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.646, allocations: 4 kB / 430.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.646, allocations: 11.95 kB / 430.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.6605, allocations: 6.291 MB / 437.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.6605, allocations: 0 / 437.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/0.6625, allocations: 429.5 kB / 437.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006031/0.6686, allocations: 1.244 MB / 438.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/0.6688, allocations: 73.75 kB / 438.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02331/0.6922, allocations: 17.44 MB / 456.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6922, allocations: 4 kB / 456.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/0.7049, allocations: 5.025 MB / 461.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/0.7067, allocations: 0.5294 MB / 461.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003277/0.707, allocations: 55.98 kB / 461.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/0.7089, allocations: 151.9 kB / 462 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006854/0.7096, allocations: 209.7 kB / 462.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/0.7098, allocations: 76.03 kB / 462.3 MB, free: 500 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001767/0.7116, allocations: 1.043 MB / 463.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7116, allocations: 2.406 kB / 463.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003083/0.7147, allocations: 0.6959 MB / 464 MB, free: 14.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.core1.Hstat,transformer.core1.B,transformer.core2.Hstat,transformer.core2.B,transformer.core3.Hstat,transformer.core3.B,transformer.winding11.i,transformer.winding12.i,transformer.winding13.i,transformer.winding21.i,transformer.winding22.i,transformer.winding23.i,capacitor1.v,capacitor2.v,pdissStatAvg.x[1],pdissStatAvg.x[2],pdissEddyAvg.x[1],pdissEddyAvg.x[2],pdissCopAvg.x[1],pdissCopAvg.x[2],transformer.core3.MagRel,transformer.core2.MagRel,transformer.core1.MagRel) * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,8), (1,8), (1,8), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006682/0.7154, allocations: 258.1 kB / 464.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006857/0.7222, allocations: 3.42 MB / 467.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.7223, allocations: 0 / 467.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004768/0.727, allocations: 2.652 MB / 470.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/0.7298, allocations: 351.2 kB / 470.7 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.7411, allocations: 6.655 MB / 477.3 MB, free: 1.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.7426, allocations: 1.561 MB / 478.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/0.7437, allocations: 175.3 kB / 479.1 MB, free: 15.49 MB / 382.1 MB Notification: Performance of SimCode: time 3.777e-06/0.7437, allocations: 0 / 479.1 MB, free: 15.49 MB / 382.1 MB Notification: Performance of Templates: time 0.4082/1.152, allocations: 96.02 MB / 0.5616 GB, free: 132.8 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifierCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifierCalcHelperMain.o] Error 1