Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 93.53 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.001392/0.001392, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002502/0.0002503, allocations: 4 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 51.48 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005103/0.1309, allocations: 2.95 MB / 361.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003614/0.1346, allocations: 1.552 MB / 363.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.1349, allocations: 4 kB / 363.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002941/0.1379, allocations: 1.719 MB / 365 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005721/0.1385, allocations: 171 kB / 365.2 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007512/0.1393, allocations: 258.7 kB / 365.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.141, allocations: 1.415 MB / 366.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.1412, allocations: 111.2 kB / 367 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.1416, allocations: 291.1 kB / 367.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003861/0.142, allocations: 310.9 kB / 367.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.1421, allocations: 20 kB / 367.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.1423, allocations: 71.98 kB / 367.6 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006797/0.143, allocations: 0.8336 MB / 368.5 MB, free: 4.426 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.1433, allocations: 384.3 kB / 368.8 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.1451, allocations: 2.105 MB / 371 MB, free: 1.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1451, allocations: 0 / 371 MB, free: 1.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1451, allocations: 0 / 371 MB, free: 1.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.1452, allocations: 0 / 371 MB, free: 1.934 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.2488/0.394, allocations: 2.448 MB / 373.4 MB, free: 17.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.325e-05/0.3941, allocations: 8.812 kB / 373.4 MB, free: 17.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.3951, allocations: 295.8 kB / 373.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003645/0.3988, allocations: 1.692 MB / 375.4 MB, free: 17.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-05/0.3989, allocations: 61.3 kB / 375.5 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.3991, allocations: 50.11 kB / 375.5 MB, free: 17.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.4001, allocations: 394 kB / 375.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.4001, allocations: 2.359 kB / 375.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.536e-05/0.4002, allocations: 15.27 kB / 375.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.4002, allocations: 8.406 kB / 375.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009301/0.4012, allocations: 332.4 kB / 376.2 MB, free: 17.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005032/0.4062, allocations: 2.922 MB / 379.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.4069, allocations: 319.3 kB / 379.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.4073, allocations: 165.7 kB / 379.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.645e-05/0.4073, allocations: 5.969 kB / 379.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.4074, allocations: 36.78 kB / 379.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 3.596e-06/0.4074, allocations: 0.9688 kB / 379.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004887/0.4123, allocations: 2.409 MB / 382.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.4124, allocations: 86.55 kB / 382.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009124/0.4215, allocations: 5.456 MB / 387.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.4216, allocations: 37.81 kB / 387.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.4228, allocations: 1.182 MB / 388.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.423, allocations: 167.7 kB / 389 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.4231, allocations: 17.81 kB / 389 MB, free: 11.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.4231, allocations: 325.5 kB / 389.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.4235, allocations: 134.7 kB / 389.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004606/0.424, allocations: 222.7 kB / 389.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.4244, allocations: 165.9 kB / 389.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4244, allocations: 0.6562 kB / 389.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001556/0.426, allocations: 0.6893 MB / 390.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.426, allocations: 10.17 kB / 390.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4261, allocations: 2.25 kB / 390.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.4261, allocations: 6.094 kB / 390.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.4266, allocations: 122.6 kB / 390.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.4267, allocations: 8 kB / 390.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.4272, allocations: 24.73 kB / 390.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.4272, allocations: 17.17 kB / 390.7 MB, free: 10.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00133/0.4286, allocations: 0.9165 MB / 391.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/0.429, allocations: 274.8 kB / 391.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.4307, allocations: 0.8019 MB / 392.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.4307, allocations: 9.141 kB / 392.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.4307, allocations: 1.125 kB / 392.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.4307, allocations: 4.766 kB / 392.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.4326, allocations: 1.473 MB / 394.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4326, allocations: 6.188 kB / 394.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.433, allocations: 97.78 kB / 394.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003402/0.4334, allocations: 91.08 kB / 394.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.4334, allocations: 11.75 kB / 394.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004444/0.4339, allocations: 0.6435 MB / 395 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4339, allocations: 0 / 395 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.4353, allocations: 1.08 MB / 396.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005752/0.4359, allocations: 0.4897 MB / 396.6 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.4361, allocations: 7.984 kB / 396.6 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.4365, allocations: 23.95 kB / 396.6 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.4366, allocations: 40.33 kB / 396.7 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.4366, allocations: 15.98 kB / 396.7 MB, free: 6.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.003964/0.4406, allocations: 3.994 MB / 400.7 MB, free: 2.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.82e-07/0.4406, allocations: 0 / 400.7 MB, free: 2.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007156/0.4413, allocations: 207.6 kB / 400.9 MB, free: 2.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009692/0.4423, allocations: 411.6 kB / 401.3 MB, free: 2.152 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007147/0.443, allocations: 384.9 kB / 401.7 MB, free: 1.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4431, allocations: 3.938 kB / 401.7 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.4434, allocations: 218.8 kB / 401.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/0.4444, allocations: 186.3 kB / 402.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008315/0.4527, allocations: 6.144 MB / 408.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/0.4544, allocations: 1.814 MB / 410 MB, free: 9.344 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004571/0.4549, allocations: 95.42 kB / 410.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4549, allocations: 0 / 410.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of Templates: time 0.06291/0.5178, allocations: 35.58 MB / 445.7 MB, free: 5.652 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1CalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.o] Error 1