Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009017/0.0009015, allocations: 92.2 kB / 17.63 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009546/0.0009547, allocations: 194.5 kB / 18.53 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.0002589, allocations: 4 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01098/0.1387, allocations: 9.3 MB / 368.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3056/0.4444, allocations: 6.1 MB / 374.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.4468, allocations: 36.22 kB / 374.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.4485, allocations: 367.7 kB / 374.6 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.4529, allocations: 0.7497 MB / 375.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008476/0.4614, allocations: 1.83 MB / 377.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007587/0.469, allocations: 3.139 MB / 380.3 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.4706, allocations: 0.5883 MB / 380.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.4738, allocations: 1.04 MB / 381.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003853/0.4777, allocations: 1.262 MB / 383.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008682/0.4786, allocations: 147.9 kB / 383.3 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.4805, allocations: 388.7 kB / 383.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007322/0.4813, allocations: 0.5321 MB / 384.3 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.4825, allocations: 478.1 kB / 384.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004257/0.4867, allocations: 2.995 MB / 387.7 MB, free: 6.008 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.4867, allocations: 0 / 387.7 MB, free: 6.008 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4868, allocations: 0 / 387.7 MB, free: 6.008 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001198/0.4869, allocations: 1.156 kB / 387.7 MB, free: 6.008 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.008651/0.4955, allocations: 2.668 MB / 390.4 MB, free: 4.453 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.278e-05/0.4956, allocations: 9.688 kB / 390.4 MB, free: 4.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.4971, allocations: 308.3 kB / 390.7 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/0.5002, allocations: 1.31 MB / 392 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003176/0.5006, allocations: 236.3 kB / 392.2 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006693/0.5012, allocations: 239.9 kB / 392.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005168/0.5064, allocations: 2.171 MB / 394.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.312e-05/0.5065, allocations: 1.375 kB / 394.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.5067, allocations: 87.2 kB / 394.7 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.558e-05/0.5068, allocations: 46.75 kB / 394.8 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004817/0.5116, allocations: 1.948 MB / 396.7 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.5292, allocations: 7.904 MB / 404.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004297/0.5335, allocations: 2.106 MB / 406.7 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002458/0.536, allocations: 1.242 MB / 408 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.5362, allocations: 37.19 kB / 408 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.5363, allocations: 62.53 kB / 408.1 MB, free: 8.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 5.25e-06/0.5363, allocations: 3.938 kB / 408.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.06544/0.6018, allocations: 14.76 MB / 422.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002748/0.6021, allocations: 397.8 kB / 423.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003988/0.6061, allocations: 1.506 MB / 424.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007423/0.6069, allocations: 69.7 kB / 424.8 MB, free: 7.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009606/0.6079, allocations: 0.8233 MB / 425.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001603/0.6095, allocations: 0.8344 MB / 426.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005489/0.6101, allocations: 44 kB / 426.5 MB, free: 5.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003432/0.6104, allocations: 398.7 kB / 426.9 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/0.6135, allocations: 1.012 MB / 427.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003288/0.6168, allocations: 1.271 MB / 429.2 MB, free: 3.027 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.03181/0.6486, allocations: 7.477 MB / 436.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/0.6487, allocations: 0 / 436.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.009198/0.6579, allocations: 2.976 MB / 439.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.658, allocations: 4 kB / 439.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.736e-05/0.6581, allocations: 8 kB / 439.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.6592, allocations: 356.3 kB / 440 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/0.6622, allocations: 0.5501 MB / 440.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.6741, allocations: 10.03 MB / 450.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/0.6777, allocations: 139.9 kB / 450.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007529/0.6785, allocations: 87.95 kB / 450.8 MB, free: 12.5 MB / 366.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.00243/0.6809, allocations: 461.5 kB / 451.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/0.6823, allocations: 209.5 kB / 451.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.6936, allocations: 3.537 MB / 455 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-05/0.6937, allocations: 24 kB / 455 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.191e-05/0.6938, allocations: 8 kB / 455 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.955e-05/0.6938, allocations: 12.42 kB / 455 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/0.7143, allocations: 6.28 MB / 461.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/0.7144, allocations: 0 / 461.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002163/0.7166, allocations: 427.5 kB / 461.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006081/0.7227, allocations: 1.252 MB / 463 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005244/0.7232, allocations: 63.97 kB / 463 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.029/0.7523, allocations: 17.41 MB / 480.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7523, allocations: 0 / 480.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/0.7655, allocations: 5.013 MB / 485.5 MB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/0.7674, allocations: 0.5217 MB / 486 MB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005994/0.768, allocations: 52.06 kB / 486 MB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/0.77, allocations: 167.8 kB / 486.2 MB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005523/0.7706, allocations: 202.1 kB / 486.4 MB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.7707, allocations: 71.97 kB / 486.5 MB, free: 7.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001854/0.7726, allocations: 1.029 MB / 487.5 MB, free: 6.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7726, allocations: 0 / 487.5 MB, free: 6.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004828/0.7774, allocations: 0.703 MB / 488.2 MB, free: 5.574 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.0009497/0.7784, allocations: 254.2 kB / 488.4 MB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006931/0.7854, allocations: 3.417 MB / 491.9 MB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.7854, allocations: 0 / 491.9 MB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004695/0.7901, allocations: 2.623 MB / 494.5 MB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.7929, allocations: 368.3 kB / 494.8 MB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.8069, allocations: 6.444 MB / 0.4895 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002238/0.8092, allocations: 1.569 MB / 0.4911 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/0.8111, allocations: 171.3 kB / 0.4912 GB, free: 6.422 MB / 414.1 MB Notification: Performance of SimCode: time 1.984e-06/0.8112, allocations: 0 / 0.4912 GB, free: 6.422 MB / 414.1 MB Notification: Performance of Templates: time 0.3956/1.207, allocations: 96.14 MB / 0.5851 GB, free: 106 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifierCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifierCalcHelperMain.o] Error 1