Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009785/0.0009789, allocations: 89.77 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 197.5 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002193/0.0002193, allocations: 4 kB / 307.3 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1267, allocations: 51.49 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004655/0.1314, allocations: 3.774 MB / 362.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.1342, allocations: 1.548 MB / 364.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.1345, allocations: 11.94 kB / 364.1 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.1348, allocations: 91.31 kB / 364.2 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006607/0.1355, allocations: 290.1 kB / 364.5 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.1358, allocations: 147.8 kB / 364.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008367/0.1367, allocations: 0.869 MB / 365.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.137, allocations: 186 kB / 365.7 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/0.1374, allocations: 306.8 kB / 366 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004235/0.1378, allocations: 354.5 kB / 366.3 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.1379, allocations: 44 kB / 366.4 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.1382, allocations: 171.8 kB / 366.6 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1383, allocations: 131.5 kB / 366.7 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1385, allocations: 161.3 kB / 366.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008241/0.1393, allocations: 0.8921 MB / 367.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1393, allocations: 0 / 367.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1393, allocations: 0 / 367.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1393, allocations: 0 / 367.7 MB, free: 4.922 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002047/0.1414, allocations: 0.9973 MB / 368.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1414, allocations: 8.031 kB / 368.7 MB, free: 3.863 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002614/0.1417, allocations: 87.14 kB / 368.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.1424, allocations: 498 kB / 369.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.603e-05/0.1426, allocations: 70.97 kB / 369.4 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.1428, allocations: 71.98 kB / 369.5 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.1439, allocations: 0.6136 MB / 370.1 MB, free: 2.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1439, allocations: 0 / 370.1 MB, free: 2.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/0.144, allocations: 24 kB / 370.1 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.144, allocations: 16 kB / 370.1 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1451, allocations: 0.5282 MB / 370.6 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2501/0.3953, allocations: 2.315 MB / 372.9 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.3964, allocations: 483.7 kB / 373.4 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.3969, allocations: 271.1 kB / 373.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.397, allocations: 7.391 kB / 373.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.397, allocations: 45.47 kB / 373.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 2.324e-06/0.397, allocations: 0.7812 kB / 373.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.01313/0.4102, allocations: 3.693 MB / 377.4 MB, free: 17.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.4103, allocations: 85.09 kB / 377.5 MB, free: 17.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000797/0.4111, allocations: 0.5306 MB / 378 MB, free: 17.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.4111, allocations: 43.58 kB / 378.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.4113, allocations: 311.3 kB / 378.4 MB, free: 16.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.4115, allocations: 209.1 kB / 378.6 MB, free: 16.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.4115, allocations: 14.25 kB / 378.6 MB, free: 16.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4117, allocations: 366.1 kB / 379 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005505/0.4122, allocations: 260 kB / 379.2 MB, free: 16.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.4129, allocations: 355.8 kB / 379.6 MB, free: 16.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/0.4135, allocations: 289.2 kB / 379.9 MB, free: 16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4135, allocations: 1.094 kB / 379.9 MB, free: 16 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001581/0.4151, allocations: 0.764 MB / 380.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.4151, allocations: 4.328 kB / 380.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.4151, allocations: 4.875 kB / 380.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.4153, allocations: 31.33 kB / 380.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/0.4161, allocations: 170.5 kB / 380.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008939/0.417, allocations: 1.33 MB / 382.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/0.4176, allocations: 43.64 kB / 382.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.4177, allocations: 24.59 kB / 382.2 MB, free: 14.29 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003198/0.418, allocations: 210.8 kB / 382.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.4181, allocations: 57.17 kB / 382.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.4201, allocations: 0.8656 MB / 383.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.4201, allocations: 7.625 kB / 383.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.4201, allocations: 1.422 kB / 383.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.4201, allocations: 5.078 kB / 383.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003912/0.4241, allocations: 1.889 MB / 385.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4241, allocations: 3.453 kB / 385.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.4246, allocations: 108.4 kB / 385.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/0.427, allocations: 0.4989 MB / 385.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/0.427, allocations: 13.53 kB / 385.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/0.4316, allocations: 2.946 MB / 388.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4316, allocations: 1.156 kB / 388.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.4348, allocations: 1.412 MB / 390.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.4352, allocations: 210.2 kB / 390.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-05/0.4353, allocations: 16.53 kB / 390.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.4358, allocations: 46.83 kB / 390.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.436, allocations: 57.22 kB / 390.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.4361, allocations: 17.64 kB / 390.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006855/0.4368, allocations: 386.2 kB / 390.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4368, allocations: 0 / 390.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009524/0.4378, allocations: 185.8 kB / 391.1 MB, free: 9.398 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003525/0.4381, allocations: 155.9 kB / 391.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.4399, allocations: 0.7422 MB / 392 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4399, allocations: 1.031 kB / 392 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.4409, allocations: 0.5296 MB / 392.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000818/0.4418, allocations: 95.7 kB / 392.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.4448, allocations: 1.859 MB / 394.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.4454, allocations: 0.9013 MB / 395.4 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.4456, allocations: 56.8 kB / 395.5 MB, free: 6.789 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4456, allocations: 0 / 395.5 MB, free: 6.789 MB / 302.1 MB Notification: Performance of Templates: time 0.0147/0.4603, allocations: 11.7 MB / 407.2 MB, free: 13.21 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2CalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2CalcHelperMain.o] Error 1