Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001074, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.001247/0.001247, allocations: 181.5 kB / 17.84 MB, free: 5.617 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.617/1.617, allocations: 223.2 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002901, allocations: 11.94 kB / 301.5 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 50.41 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01336/0.1393, allocations: 11.42 MB / 363.3 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009196/0.1486, allocations: 3.959 MB / 367.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.1506, allocations: 75.62 kB / 367.3 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.1527, allocations: 0.765 MB / 368.1 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.1561, allocations: 1.026 MB / 369.1 MB, free: 2.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.1571, allocations: 323.6 kB / 369.4 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.247/0.4041, allocations: 4.78 MB / 374.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005476/0.4097, allocations: 2.592 MB / 376.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005956/0.4157, allocations: 1.565 MB / 378.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0069/0.4226, allocations: 2.096 MB / 380.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001855/0.4245, allocations: 241.8 kB / 380.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.4276, allocations: 307.9 kB / 381 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002609/0.4302, allocations: 1.139 MB / 382.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003475/0.4337, allocations: 0.837 MB / 383 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.4446, allocations: 5.993 MB / 389 MB, free: 7.266 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.4446, allocations: 0 / 389 MB, free: 7.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.548e-06/0.4446, allocations: 3.984 kB / 389 MB, free: 7.262 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004824/0.4451, allocations: 1.344 kB / 389 MB, free: 7.262 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.01552/0.4607, allocations: 4.006 MB / 393 MB, free: 4.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.4607, allocations: 8.531 kB / 393 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003886/0.4646, allocations: 0.4959 MB / 393.5 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007623/0.4723, allocations: 2.419 MB / 395.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/0.4727, allocations: 263.2 kB / 396.2 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.4746, allocations: 354.7 kB / 396.5 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/0.4885, allocations: 5.025 MB / 401.5 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.4886, allocations: 7.984 kB / 401.5 MB, free: 1.562 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000413/0.489, allocations: 142.2 kB / 401.7 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001831/0.4892, allocations: 179.1 kB / 401.9 MB, free: 1.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.4999, allocations: 4.294 MB / 406.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03764/0.5376, allocations: 14.98 MB / 421.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00625/0.5439, allocations: 4.187 MB / 425.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003994/0.5479, allocations: 2.003 MB / 427.3 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003634/0.5483, allocations: 137.4 kB / 427.5 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.5484, allocations: 56.52 kB / 427.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 3.636e-06/0.5484, allocations: 0 / 427.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.02496/0.5734, allocations: 10.04 MB / 437.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.5735, allocations: 77.34 kB / 437.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/0.5787, allocations: 2.486 MB / 440.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004034/0.5792, allocations: 61.7 kB / 440.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001583/0.5807, allocations: 1.614 MB / 441.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009617/0.5817, allocations: 0.7389 MB / 442.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.5819, allocations: 44 kB / 442.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002609/0.5821, allocations: 402.5 kB / 443 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/0.5845, allocations: 1.301 MB / 444.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.587, allocations: 1.786 MB / 446.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/0.5894, allocations: 1.559 MB / 447.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.5894, allocations: 4 kB / 447.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007724/0.5972, allocations: 4.074 MB / 451.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.5972, allocations: 8 kB / 451.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-05/0.5973, allocations: 16 kB / 451.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/0.6002, allocations: 0.8806 MB / 452.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.6026, allocations: 0.5266 MB / 453.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.6139, allocations: 8.746 MB / 461.9 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/0.6182, allocations: 131.8 kB / 462 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004839/0.6187, allocations: 84 kB / 462.1 MB, free: 3.742 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.003538/0.6223, allocations: 1.208 MB / 463.3 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009938/0.6233, allocations: 276.7 kB / 463.6 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007271/0.6306, allocations: 3.727 MB / 467.3 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.6306, allocations: 24 kB / 467.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-05/0.6307, allocations: 4 kB / 467.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.904e-05/0.6307, allocations: 19.91 kB / 467.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02063/0.6514, allocations: 8.086 MB / 475.4 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/0.6514, allocations: 10.39 kB / 475.4 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/0.6532, allocations: 387.8 kB / 475.8 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003334/0.6566, allocations: 0.929 MB / 476.7 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003112/0.6569, allocations: 55.97 kB / 476.8 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/0.6713, allocations: 10.21 MB / 487 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.6714, allocations: 4 kB / 487 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/0.6833, allocations: 5.53 MB / 492.5 MB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002627/0.686, allocations: 0.6304 MB / 493.2 MB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007545/0.6868, allocations: 51.98 kB / 493.2 MB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.6882, allocations: 123.9 kB / 493.3 MB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006014/0.6889, allocations: 185.7 kB / 493.5 MB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.689, allocations: 59.98 kB / 493.6 MB, free: 3.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003577/0.6926, allocations: 1.711 MB / 495.3 MB, free: 1.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6926, allocations: 0 / 495.3 MB, free: 1.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003979/0.6966, allocations: 0.801 MB / 496.1 MB, free: 0.9805 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.000824/0.6974, allocations: 209.6 kB / 496.3 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00715/0.7046, allocations: 3.893 MB / 0.4885 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.7047, allocations: 4 kB / 0.4885 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004115/0.7088, allocations: 2.483 MB / 0.4909 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004799/0.7136, allocations: 0.7656 MB / 0.4916 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/0.7321, allocations: 9.114 MB / 0.5005 GB, free: 332 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003395/0.7356, allocations: 2.719 MB / 0.5032 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/0.737, allocations: 187.4 kB / 0.5034 GB, free: 13.39 MB / 430.1 MB Notification: Performance of SimCode: time 2.215e-06/0.737, allocations: 0 / 0.5034 GB, free: 13.39 MB / 430.1 MB Notification: Performance of Templates: time 0.5442/1.281, allocations: 141.1 MB / 0.6412 GB, free: 50.24 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.Transformers.IMC_TransformerCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_TransformerCalcHelperMain.o] Error 1