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.001532/0.001532, 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.001872/0.001873, 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.079/2.079, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001249/0.001249, allocations: 43.94 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1515, allocations: 46.64 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01479/0.1664, allocations: 10.39 MB / 337.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01703/0.1834, allocations: 6.69 MB / 344.3 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004238/0.1878, allocations: 35.81 kB / 344.4 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002931/0.1908, allocations: 385.3 kB / 344.8 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006378/0.1972, allocations: 0.7879 MB / 345.5 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00979/0.2071, allocations: 2.036 MB / 347.6 MB, free: 496 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008923/0.216, allocations: 3.375 MB / 351 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002647/0.2187, allocations: 0.6542 MB / 351.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00431/0.2231, allocations: 1.113 MB / 352.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004202/0.2273, allocations: 1.365 MB / 354.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001945/0.2293, allocations: 176 kB / 354.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.2327, allocations: 415.5 kB / 354.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.2348, allocations: 0.5876 MB / 355.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003818/0.2387, allocations: 1.251 MB / 356.5 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004759/0.2435, allocations: 3.063 MB / 359.6 MB, free: 4.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.2435, allocations: 0 / 359.6 MB, free: 4.434 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.969e-06/0.2435, allocations: 3.984 kB / 359.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001468/0.2437, allocations: 0 / 359.6 MB, free: 4.43 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.01153/0.2552, allocations: 3.075 MB / 362.6 MB, free: 1.293 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.036e-05/0.2553, allocations: 12.02 kB / 362.7 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009145/0.2563, allocations: 273.8 kB / 362.9 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/0.2597, allocations: 1.358 MB / 364.3 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000387/0.2601, allocations: 241.5 kB / 364.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007461/0.2609, allocations: 235.8 kB / 364.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005351/0.2663, allocations: 2.165 MB / 366.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/0.2663, allocations: 3.938 kB / 366.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.2666, allocations: 80 kB / 367 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.814e-05/0.2666, allocations: 48 kB / 367 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004836/0.2715, allocations: 1.92 MB / 369 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.285, allocations: 7.849 MB / 376.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.2885, allocations: 2.08 MB / 378.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2935/0.582, allocations: 1.225 MB / 380.1 MB, free: 51.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.5823, allocations: 35.45 kB / 380.1 MB, free: 51.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.086e-05/0.5824, allocations: 62.61 kB / 380.2 MB, free: 51.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 5.541e-06/0.5824, allocations: 0 / 380.2 MB, free: 51.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.06169/0.6441, allocations: 14.07 MB / 394.3 MB, free: 47.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002161/0.6444, allocations: 393.5 kB / 394.7 MB, free: 46.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002821/0.6472, allocations: 1.507 MB / 396.2 MB, free: 46.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004121/0.6476, allocations: 72.61 kB / 396.2 MB, free: 46.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006174/0.6483, allocations: 0.8294 MB / 397.1 MB, free: 45.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007905/0.6491, allocations: 0.8339 MB / 397.9 MB, free: 44.63 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006786/0.6497, allocations: 409.5 kB / 398.3 MB, free: 44.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.6498, allocations: 301.1 kB / 398.6 MB, free: 44.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.6519, allocations: 0.9883 MB / 399.6 MB, free: 43.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/0.6541, allocations: 1.258 MB / 400.8 MB, free: 42.84 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.032/0.6861, allocations: 9.38 MB / 410.2 MB, free: 33.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.6862, allocations: 0 / 410.2 MB, free: 33.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.00665/0.6928, allocations: 2.932 MB / 413.2 MB, free: 30.49 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.6929, allocations: 8.625 kB / 413.2 MB, free: 30.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.6929, allocations: 12.08 kB / 413.2 MB, free: 30.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.694, allocations: 359.9 kB / 413.5 MB, free: 30.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003569/0.6975, allocations: 0.5539 MB / 414.1 MB, free: 29.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007865/0.7054, allocations: 10 MB / 424.1 MB, free: 18.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/0.7087, allocations: 123.9 kB / 424.2 MB, free: 18.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005698/0.7093, allocations: 91.89 kB / 424.3 MB, free: 18.58 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 system: 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.002007/0.7113, allocations: 468.2 kB / 424.8 MB, free: 18.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/0.7125, allocations: 201.6 kB / 424.9 MB, free: 17.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009019/0.7215, allocations: 3.45 MB / 428.4 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-05/0.7216, allocations: 35.7 kB / 428.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.275e-05/0.7216, allocations: 4 kB / 428.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/0.7217, allocations: 11.95 kB / 428.4 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.7382, allocations: 6.18 MB / 434.6 MB, free: 8.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.7382, allocations: 3.938 kB / 434.6 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/0.7403, allocations: 419.1 kB / 435 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005483/0.7458, allocations: 1.207 MB / 436.2 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003348/0.7461, allocations: 63.97 kB / 436.3 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02696/0.7731, allocations: 17.21 MB / 453.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/0.7732, allocations: 8.094 kB / 453.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/0.792, allocations: 4.901 MB / 458.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002548/0.7947, allocations: 0.5259 MB / 459 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/0.796, allocations: 56 kB / 459 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003151/0.7991, allocations: 140 kB / 459.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/0.8002, allocations: 205.7 kB / 459.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003915/0.8006, allocations: 79.91 kB / 459.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002939/0.8036, allocations: 1.041 MB / 460.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8036, allocations: 0 / 460.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.005272/0.8089, allocations: 0.6913 MB / 461.2 MB, free: 12.23 MB / 350.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.001147/0.81, allocations: 255.8 kB / 461.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.008784/0.8188, allocations: 3.366 MB / 464.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.8189, allocations: 0 / 464.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006202/0.8251, allocations: 2.599 MB / 467.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004687/0.8298, allocations: 369.3 kB / 467.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/0.8476, allocations: 6.34 MB / 474.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003689/0.8514, allocations: 1.553 MB / 475.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001976/0.8534, allocations: 179.3 kB / 475.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of SimCode: time 1.683e-06/0.8535, allocations: 4 kB / 475.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of Templates: time 0.4723/1.326, allocations: 96.25 MB / 0.5587 GB, free: 115.5 MB / 414.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