Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001009/0.001009, allocations: 96.48 kB / 16.95 MB, free: 6.453 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.001178/0.001178, allocations: 179.2 kB / 17.84 MB, free: 6 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.539/1.539, allocations: 223.3 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002706, allocations: 7.984 kB / 301.5 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1169, allocations: 50.42 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009646/0.1266, allocations: 9.271 MB / 361.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.1388, allocations: 6.063 MB / 367.2 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.1411, allocations: 35.81 kB / 367.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.1423, allocations: 365.5 kB / 367.6 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.1455, allocations: 0.7489 MB / 368.4 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00586/0.1513, allocations: 1.821 MB / 370.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3313/0.4826, allocations: 3.141 MB / 373.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.4847, allocations: 0.584 MB / 373.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003478/0.4882, allocations: 1.035 MB / 374.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00456/0.4927, allocations: 1.26 MB / 376.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000871/0.4936, allocations: 147.9 kB / 376.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.4956, allocations: 382.9 kB / 376.7 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007991/0.4964, allocations: 0.535 MB / 377.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.4977, allocations: 472.3 kB / 377.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00518/0.5028, allocations: 2.997 MB / 380.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.5029, allocations: 2.5 kB / 380.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.5029, allocations: 0 / 380.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001558/0.503, allocations: 1.031 kB / 380.7 MB, free: 9.453 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.009943/0.513, allocations: 2.668 MB / 383.4 MB, free: 8.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.5131, allocations: 10.44 kB / 383.4 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.5149, allocations: 272.5 kB / 383.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00399/0.5189, allocations: 1.307 MB / 385 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/0.5192, allocations: 243.4 kB / 385.2 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007549/0.52, allocations: 232.7 kB / 385.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005935/0.5259, allocations: 2.167 MB / 387.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.053e-05/0.526, allocations: 5.125 kB / 387.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/0.5263, allocations: 83.72 kB / 387.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.417e-05/0.5264, allocations: 47.34 kB / 387.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004644/0.531, allocations: 1.941 MB / 389.7 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.5436, allocations: 7.893 MB / 397.6 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/0.5468, allocations: 2.104 MB / 399.7 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.5487, allocations: 1.242 MB / 400.9 MB, free: 0.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.5488, allocations: 30.92 kB / 400.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.5489, allocations: 57.94 kB / 401 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=208): time 3.807e-06/0.5489, allocations: 0 / 401 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of matching and sorting (n=250): time 0.05082/0.5997, allocations: 14.77 MB / 415.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002202/0.6, allocations: 393.8 kB / 416.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.6029, allocations: 1.494 MB / 417.6 MB, free: 472 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005092/0.6034, allocations: 77.7 kB / 417.7 MB, free: 388 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008363/0.6042, allocations: 0.8223 MB / 418.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009822/0.6052, allocations: 0.8371 MB / 419.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.6054, allocations: 52 kB / 419.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.6056, allocations: 394.7 kB / 419.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.6079, allocations: 1.016 MB / 420.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.6102, allocations: 1.272 MB / 422.1 MB, free: 11.98 MB / 334.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.02912/0.6393, allocations: 7.481 MB / 429.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.6394, allocations: 0 / 429.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006987/0.6464, allocations: 2.967 MB / 432.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.6464, allocations: 4 kB / 432.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.681e-05/0.6465, allocations: 15.94 kB / 432.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.6475, allocations: 356.4 kB / 432.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.6501, allocations: 0.5461 MB / 433.5 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.6603, allocations: 10.02 MB / 443.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/0.6633, allocations: 143.9 kB / 443.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005962/0.6639, allocations: 87.62 kB / 443.7 MB, free: 5.465 MB / 350.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.H[1] = transformer.HStart[1] transformer.H[3] = transformer.HStart[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * 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 initialization (256): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002048/0.666, allocations: 473.2 kB / 444.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/0.667, allocations: 205.6 kB / 444.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.6771, allocations: 3.53 MB / 447.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/0.6771, allocations: 28 kB / 447.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-05/0.6772, allocations: 8.125 kB / 447.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-05/0.6772, allocations: 15.94 kB / 448 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.6932, allocations: 6.285 MB / 454.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/0.6933, allocations: 0 / 454.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002289/0.6956, allocations: 431.4 kB / 454.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006008/0.7017, allocations: 1.257 MB / 455.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004013/0.7021, allocations: 63.97 kB / 456 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02234/0.7244, allocations: 17.39 MB / 473.4 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.7245, allocations: 8.094 kB / 473.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/0.7378, allocations: 4.999 MB / 478.4 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/0.7398, allocations: 0.5333 MB / 478.9 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009358/0.7408, allocations: 55.98 kB / 479 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002522/0.7433, allocations: 151.9 kB / 479.1 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006876/0.744, allocations: 201.8 kB / 479.3 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002491/0.7443, allocations: 71.92 kB / 479.4 MB, free: 276 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002279/0.7466, allocations: 1.033 MB / 480.4 MB, free: 15.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7466, allocations: 4 kB / 480.4 MB, free: 15.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004425/0.751, allocations: 0.6914 MB / 481.1 MB, free: 14.54 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 8,1 8,1 8,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009115/0.752, allocations: 264.7 kB / 481.4 MB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00717/0.7591, allocations: 3.402 MB / 484.8 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.7592, allocations: 4 kB / 484.8 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005006/0.7642, allocations: 2.63 MB / 487.4 MB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004931/0.7692, allocations: 375.3 kB / 487.8 MB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.7837, allocations: 6.448 MB / 494.2 MB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/0.7857, allocations: 1.567 MB / 495.8 MB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/0.7871, allocations: 171.3 kB / 496 MB, free: 15.38 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.7872, allocations: 0 / 496 MB, free: 15.38 MB / 414.1 MB Notification: Performance of Templates: time 0.3578/1.145, allocations: 96 MB / 0.5781 GB, free: 121.4 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.Hysteresis.ThreePhaseTransformerWithRectifierCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifierCalcHelperMain.o] Error 1