Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009579/0.000958, allocations: 91.03 kB / 16.95 MB, free: 5.676 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.00101/0.00101, allocations: 187.1 kB / 17.85 MB, free: 5.32 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.588/1.588, allocations: 223.2 MB / 241.8 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 8 kB / 301.5 MB, free: 6.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1274, allocations: 50.41 MB / 351.9 MB, free: 3.988 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01323/0.1406, allocations: 11.4 MB / 363.3 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009606/0.1503, allocations: 3.959 MB / 367.2 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.1529, allocations: 71.69 kB / 367.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.1557, allocations: 0.7689 MB / 368.1 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004355/0.16, allocations: 1.018 MB / 369.1 MB, free: 2.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.1615, allocations: 331.5 kB / 369.4 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3265/0.488, allocations: 4.784 MB / 374.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007899/0.4959, allocations: 2.598 MB / 376.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006977/0.503, allocations: 1.566 MB / 378.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007818/0.5109, allocations: 2.09 MB / 380.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00271/0.5136, allocations: 241.9 kB / 380.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004836/0.5185, allocations: 305.5 kB / 381 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004557/0.5231, allocations: 1.139 MB / 382.1 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004879/0.528, allocations: 0.8378 MB / 383 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01411/0.5421, allocations: 5.996 MB / 389 MB, free: 7.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-05/0.5422, allocations: 1.031 kB / 389 MB, free: 7.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.5422, allocations: 2.297 kB / 389 MB, free: 7.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0005094/0.5428, allocations: 0 / 389 MB, free: 7.238 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01917/0.5619, allocations: 4.008 MB / 393 MB, free: 4.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.562, allocations: 8.25 kB / 393 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004704/0.5667, allocations: 0.4998 MB / 393.5 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009255/0.5761, allocations: 2.413 MB / 395.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.5765, allocations: 266.2 kB / 396.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00267/0.5792, allocations: 356.7 kB / 396.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.5993, allocations: 5.013 MB / 401.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/0.5995, allocations: 7.984 kB / 401.5 MB, free: 1.578 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006209/0.6002, allocations: 146.7 kB / 401.7 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/0.6003, allocations: 179.1 kB / 401.8 MB, free: 1.262 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.6125, allocations: 4.294 MB / 406.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04949/0.6621, allocations: 14.98 MB / 421.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007891/0.6701, allocations: 4.202 MB / 425.3 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004973/0.6751, allocations: 2.007 MB / 427.3 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005466/0.6757, allocations: 127.1 kB / 427.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.854e-05/0.6758, allocations: 60.52 kB / 427.5 MB, free: 7.078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 5.461e-06/0.6758, allocations: 1.219 kB / 427.5 MB, free: 7.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.02985/0.7057, allocations: 10.04 MB / 437.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.697e-05/0.7059, allocations: 77.41 kB / 437.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008385/0.7143, allocations: 2.478 MB / 440.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009125/0.7152, allocations: 65.7 kB / 440.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001981/0.7172, allocations: 1.621 MB / 441.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001727/0.719, allocations: 0.726 MB / 442.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/0.7195, allocations: 44 kB / 442.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003579/0.7198, allocations: 410.5 kB / 443 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/0.7231, allocations: 1.297 MB / 444.3 MB, free: 6.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/0.7268, allocations: 1.782 MB / 446 MB, free: 4.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/0.7306, allocations: 1.556 MB / 447.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/0.7307, allocations: 4 kB / 447.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01047/0.7412, allocations: 4.079 MB / 451.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/0.7413, allocations: 12 kB / 451.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.218e-05/0.7414, allocations: 12 kB / 451.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003284/0.7447, allocations: 0.8879 MB / 452.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/0.7474, allocations: 0.528 MB / 453.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.7609, allocations: 8.737 MB / 461.8 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004354/0.7653, allocations: 131.8 kB / 462 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009005/0.7663, allocations: 88 kB / 462.1 MB, free: 3.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005263/0.7716, allocations: 1.208 MB / 463.3 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001534/0.7731, allocations: 272.7 kB / 463.5 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009543/0.7827, allocations: 3.735 MB / 467.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/0.7828, allocations: 20 kB / 467.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.366e-05/0.7828, allocations: 8 kB / 467.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.12e-05/0.7829, allocations: 15.91 kB / 467.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02251/0.8054, allocations: 8.086 MB / 475.4 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.8055, allocations: 4 kB / 475.4 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/0.8073, allocations: 397.7 kB / 475.8 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003325/0.8107, allocations: 0.9317 MB / 476.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002914/0.811, allocations: 59.97 kB / 476.8 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01452/0.8255, allocations: 10.2 MB / 487 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.8256, allocations: 4 kB / 487 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/0.8391, allocations: 5.514 MB / 492.5 MB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00356/0.8428, allocations: 0.6343 MB / 493.1 MB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00193/0.8448, allocations: 51.98 kB / 493.2 MB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003466/0.8483, allocations: 131.9 kB / 493.3 MB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009264/0.8492, allocations: 181.7 kB / 493.5 MB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003893/0.8497, allocations: 59.98 kB / 493.6 MB, free: 3.516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.005727/0.8554, allocations: 1.707 MB / 495.3 MB, free: 1.797 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8554, allocations: 2.188 kB / 495.3 MB, free: 1.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00639/0.8618, allocations: 0.8047 MB / 496.1 MB, free: 0.9922 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 25,(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.8631, allocations: 201.5 kB / 496.3 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009016/0.8722, allocations: 3.904 MB / 0.4884 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/0.8722, allocations: 0 / 0.4884 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005375/0.8776, allocations: 2.489 MB / 0.4909 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007585/0.8853, allocations: 0.7567 MB / 0.4916 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/0.9101, allocations: 9.11 MB / 0.5005 GB, free: 352 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005356/0.9155, allocations: 2.723 MB / 0.5032 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/0.9171, allocations: 187.4 kB / 0.5034 GB, free: 13.41 MB / 430.1 MB Notification: Performance of SimCode: time 2.445e-06/0.9171, allocations: 0 / 0.5034 GB, free: 13.41 MB / 430.1 MB Notification: Performance of Templates: time 0.4246/1.342, allocations: 141.1 MB / 0.6411 GB, free: 53.74 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_TransformerCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_TransformerCalcHelperMain.o] Error 1