Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.00112, allocations: 92.78 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.00155/0.001551, 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.559/1.559, allocations: 227.3 MB / 246.6 MB, free: 10.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003466, allocations: 4 kB / 307.3 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1597, allocations: 51.49 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.0133/0.173, allocations: 11.43 MB / 370.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.297/0.4701, allocations: 4.01 MB / 374.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003252/0.4734, allocations: 72.41 kB / 374.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004/0.4775, allocations: 0.7806 MB / 375.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007028/0.4845, allocations: 1.019 MB / 376.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.4867, allocations: 328.7 kB / 376.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009808/0.4965, allocations: 4.809 MB / 381.2 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006411/0.503, allocations: 2.6 MB / 383.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005825/0.5089, allocations: 1.582 MB / 385.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006699/0.5156, allocations: 2.096 MB / 387.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002074/0.5178, allocations: 241.8 kB / 387.8 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003897/0.5217, allocations: 312.9 kB / 388.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003714/0.5254, allocations: 1.138 MB / 389.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005142/0.5306, allocations: 0.8398 MB / 390 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.5435, allocations: 6.008 MB / 396 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.5436, allocations: 0 / 396 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.791e-06/0.5436, allocations: 0 / 396 MB, free: 3.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004157/0.544, allocations: 0 / 396 MB, free: 3.043 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.01519/0.5592, allocations: 4.014 MB / 400.1 MB, free: 500 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.5593, allocations: 8.688 kB / 400.1 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004197/0.5635, allocations: 0.5332 MB / 400.6 MB, free: 240 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007523/0.5711, allocations: 2.413 MB / 403 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003429/0.5715, allocations: 265.5 kB / 403.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001797/0.5733, allocations: 353.4 kB / 403.6 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/0.5882, allocations: 5.016 MB / 408.6 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.5884, allocations: 11.91 kB / 408.6 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004117/0.5888, allocations: 142.7 kB / 408.8 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/0.589, allocations: 183.1 kB / 409 MB, free: 8.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.6, allocations: 4.291 MB / 413.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04158/0.6416, allocations: 14.98 MB / 428.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006584/0.6483, allocations: 4.192 MB / 432.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004172/0.6525, allocations: 2.006 MB / 434.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004405/0.653, allocations: 137.4 kB / 434.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.032e-05/0.6531, allocations: 56.56 kB / 434.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.909e-06/0.6531, allocations: 4 kB / 434.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02565/0.6788, allocations: 10.03 MB / 444.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.6789, allocations: 73.41 kB / 444.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00635/0.6853, allocations: 2.486 MB / 447.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006633/0.686, allocations: 65.7 kB / 447.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.6876, allocations: 1.619 MB / 448.9 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001436/0.6891, allocations: 0.7347 MB / 449.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000379/0.6895, allocations: 48 kB / 449.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003108/0.6898, allocations: 398.6 kB / 450.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/0.6929, allocations: 1.305 MB / 451.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003473/0.6964, allocations: 1.782 MB / 453.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003794/0.7002, allocations: 1.562 MB / 454.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.778e-05/0.7002, allocations: 4 kB / 454.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00974/0.71, allocations: 4.071 MB / 458.8 MB, free: 5.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.374e-05/0.7101, allocations: 8 kB / 458.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.482e-05/0.7101, allocations: 22.36 kB / 458.8 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003057/0.7132, allocations: 0.874 MB / 459.7 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/0.7156, allocations: 0.5343 MB / 460.2 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.7278, allocations: 8.736 MB / 469 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/0.7313, allocations: 123.9 kB / 469.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006824/0.732, allocations: 87.98 kB / 469.2 MB, free: 11.14 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.004425/0.7365, allocations: 1.215 MB / 470.4 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/0.7382, allocations: 280.7 kB / 470.7 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00967/0.7479, allocations: 3.731 MB / 474.4 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-05/0.748, allocations: 20 kB / 474.4 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.504e-05/0.7481, allocations: 8 kB / 474.4 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.96e-05/0.7481, allocations: 11.95 kB / 474.4 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/0.7723, allocations: 8.097 MB / 482.5 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/0.7724, allocations: 4 kB / 482.5 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/0.7744, allocations: 391.8 kB / 482.9 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/0.7779, allocations: 0.9283 MB / 483.8 MB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003586/0.7783, allocations: 59.97 kB / 483.9 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.7925, allocations: 10.21 MB / 494.1 MB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.768e-05/0.7926, allocations: 7.938 kB / 494.1 MB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/0.8045, allocations: 5.52 MB / 499.6 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002388/0.807, allocations: 0.6383 MB / 0.4886 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/0.8082, allocations: 52.08 kB / 0.4886 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/0.8105, allocations: 132 kB / 0.4887 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005236/0.8111, allocations: 173.7 kB / 0.4889 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/0.8113, allocations: 63.92 kB / 0.489 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004358/0.8157, allocations: 1.715 MB / 0.4906 GB, free: 9.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8157, allocations: 0 / 0.4906 GB, free: 9.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004917/0.8206, allocations: 0.7969 MB / 0.4914 GB, free: 8.363 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.0008061/0.8214, allocations: 218.9 kB / 0.4916 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007315/0.8288, allocations: 3.893 MB / 0.4954 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/0.8288, allocations: 8.125 kB / 0.4954 GB, free: 4.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004508/0.8333, allocations: 2.482 MB / 0.4979 GB, free: 1.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006085/0.8394, allocations: 0.7521 MB / 0.4986 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.8565, allocations: 9.127 MB / 0.5075 GB, free: 7.695 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/0.8593, allocations: 2.723 MB / 0.5102 GB, free: 4.945 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/0.8606, allocations: 187.4 kB / 0.5103 GB, free: 4.762 MB / 430.1 MB Notification: Performance of SimCode: time 1.603e-06/0.8606, allocations: 0 / 0.5103 GB, free: 4.762 MB / 430.1 MB Notification: Performance of Templates: time 0.4643/1.325, allocations: 141.2 MB / 0.6483 GB, free: 42.81 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile make -j1 -f Modelica_trunk_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 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.InductionMachines.IMC_TransformerCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_TransformerCalcHelperMain.o] Error 1