Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008775/0.0008775, allocations: 94.52 kB / 17.63 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00095/0.0009501, allocations: 202 kB / 18.54 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.633/1.633, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003934, allocations: 4 kB / 307.3 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 51.5 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01395/0.1635, allocations: 11.45 MB / 370.3 MB, free: 2.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2702/0.4338, allocations: 4.007 MB / 374.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/0.437, allocations: 73.12 kB / 374.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003295/0.4403, allocations: 0.7795 MB / 375.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005569/0.4459, allocations: 1.026 MB / 376.1 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.4476, allocations: 322.9 kB / 376.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01004/0.4577, allocations: 4.806 MB / 381.3 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004944/0.4627, allocations: 2.601 MB / 383.9 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005166/0.4678, allocations: 1.579 MB / 385.4 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00645/0.4743, allocations: 2.093 MB / 387.5 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.4756, allocations: 241.9 kB / 387.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.478, allocations: 312.6 kB / 388.1 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001539/0.4795, allocations: 1.141 MB / 389.2 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002181/0.4817, allocations: 0.8393 MB / 390.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008673/0.4904, allocations: 6.006 MB / 396.1 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.4905, allocations: 0 / 396.1 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.4905, allocations: 1.188 kB / 396.1 MB, free: 3.023 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003142/0.4908, allocations: 0 / 396.1 MB, free: 3.023 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.01256/0.5034, allocations: 4.023 MB / 400.1 MB, free: 476 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.5034, allocations: 9.312 kB / 400.1 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/0.5064, allocations: 0.5321 MB / 400.6 MB, free: 216 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006802/0.5132, allocations: 2.413 MB / 403 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002868/0.5136, allocations: 262.7 kB / 403.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/0.5146, allocations: 351.9 kB / 403.6 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.526, allocations: 5.022 MB / 408.7 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-05/0.5261, allocations: 7.906 kB / 408.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.5265, allocations: 143.5 kB / 408.8 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002101/0.5267, allocations: 183 kB / 409 MB, free: 8.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00903/0.5357, allocations: 4.298 MB / 413.3 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03991/0.5757, allocations: 14.97 MB / 428.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006908/0.5827, allocations: 4.195 MB / 432.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004464/0.5872, allocations: 2.006 MB / 434.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004786/0.5877, allocations: 131.7 kB / 434.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.5879, allocations: 56.56 kB / 434.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 7.755e-06/0.5879, allocations: 4 kB / 434.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02794/0.6158, allocations: 10.04 MB / 444.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.616, allocations: 73.41 kB / 444.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007542/0.6235, allocations: 2.49 MB / 447.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00073/0.6243, allocations: 61.7 kB / 447.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002064/0.6264, allocations: 1.621 MB / 448.9 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001567/0.628, allocations: 0.7367 MB / 449.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004876/0.6285, allocations: 44 kB / 449.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003927/0.6289, allocations: 398.6 kB / 450.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004143/0.633, allocations: 1.308 MB / 451.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003723/0.6368, allocations: 1.777 MB / 453.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003924/0.6407, allocations: 1.56 MB / 454.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.865e-05/0.6408, allocations: 4 kB / 454.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01067/0.6515, allocations: 4.075 MB / 458.8 MB, free: 5.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.735e-05/0.6516, allocations: 15.95 kB / 458.8 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.374e-05/0.6517, allocations: 12 kB / 458.8 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003284/0.655, allocations: 0.881 MB / 459.7 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/0.6578, allocations: 0.5344 MB / 460.3 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.671, allocations: 8.739 MB / 469 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003846/0.6749, allocations: 123.9 kB / 469.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008697/0.6758, allocations: 84 kB / 469.2 MB, free: 11.11 MB / 382.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.004965/0.6808, allocations: 1.216 MB / 470.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001722/0.6826, allocations: 284.6 kB / 470.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/0.6927, allocations: 3.734 MB / 474.4 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/0.6928, allocations: 20 kB / 474.4 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.235e-05/0.6928, allocations: 8 kB / 474.5 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-05/0.6929, allocations: 7.969 kB / 474.5 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0243/0.7172, allocations: 8.101 MB / 482.6 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/0.7173, allocations: 4 kB / 482.6 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/0.7193, allocations: 387.8 kB / 482.9 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003739/0.723, allocations: 0.9319 MB / 483.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/0.7234, allocations: 55.98 kB / 483.9 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01769/0.7411, allocations: 10.2 MB / 494.1 MB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/0.7412, allocations: 7.938 kB / 494.1 MB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/0.7557, allocations: 5.514 MB / 499.7 MB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003068/0.7589, allocations: 0.6383 MB / 0.4886 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/0.7605, allocations: 55.97 kB / 0.4886 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/0.7633, allocations: 127.9 kB / 0.4887 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007194/0.7641, allocations: 173.8 kB / 0.4889 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003238/0.7644, allocations: 59.92 kB / 0.489 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.005528/0.77, allocations: 1.723 MB / 0.4907 GB, free: 9.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.77, allocations: 0 / 0.4907 GB, free: 9.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006088/0.7761, allocations: 0.7969 MB / 0.4914 GB, free: 8.324 MB / 414.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.001063/0.7772, allocations: 219.7 kB / 0.4916 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00889/0.7861, allocations: 3.889 MB / 0.4954 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/0.7862, allocations: 4.125 kB / 0.4954 GB, free: 4.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005533/0.7917, allocations: 2.483 MB / 0.4979 GB, free: 1.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007649/0.7994, allocations: 0.7624 MB / 0.4986 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/0.8224, allocations: 9.112 MB / 0.5075 GB, free: 7.672 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003782/0.8262, allocations: 2.729 MB / 0.5102 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/0.8276, allocations: 187.4 kB / 0.5104 GB, free: 4.734 MB / 430.1 MB Notification: Performance of SimCode: time 2.345e-06/0.8277, allocations: 4 kB / 0.5104 GB, free: 4.73 MB / 430.1 MB Notification: Performance of Templates: time 0.4721/1.3, allocations: 141.2 MB / 0.6483 GB, free: 42.91 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile make -j1 -f Modelica_trunk_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 trunk/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 trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_TransformerCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_TransformerCalcHelperMain.o] Error 1