Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008232/0.0008231, allocations: 88.55 kB / 17.58 MB, free: 5.758 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.0007743/0.0007743, allocations: 186.4 kB / 18.48 MB, free: 5.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.4 MB / 224.6 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004713, allocations: 12 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1303, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01351/0.1439, allocations: 11.35 MB / 340.3 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.1546, allocations: 4.018 MB / 344.4 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002976/0.1576, allocations: 63.69 kB / 344.4 MB, free: 4.586 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003353/0.161, allocations: 0.7689 MB / 345.2 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.1661, allocations: 1.033 MB / 346.2 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.1678, allocations: 327.6 kB / 346.5 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007327/0.1752, allocations: 4.84 MB / 351.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00391/0.1791, allocations: 2.507 MB / 353.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.1828, allocations: 1.576 MB / 355.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004743/0.1876, allocations: 2.101 MB / 357.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.1887, allocations: 244 kB / 357.8 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.1906, allocations: 319.9 kB / 358.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.1919, allocations: 1.141 MB / 359.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.1937, allocations: 0.8394 MB / 360.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008122/0.2018, allocations: 5.995 MB / 366.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.2019, allocations: 0 / 366.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2019, allocations: 0 / 366.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002649/0.2022, allocations: 0 / 366.1 MB, free: 14.79 MB / 318.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.01168/0.2139, allocations: 3.997 MB / 370.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.2139, allocations: 15.97 kB / 370.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/0.2169, allocations: 0.4947 MB / 370.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006071/0.223, allocations: 2.299 MB / 372.9 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/0.2233, allocations: 267 kB / 373.2 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.2244, allocations: 355.9 kB / 373.5 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/0.2357, allocations: 5.005 MB / 378.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.004e-05/0.2359, allocations: 3.938 kB / 378.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003578/0.2362, allocations: 148 kB / 378.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002061/0.2364, allocations: 187 kB / 378.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3039/0.5403, allocations: 4.282 MB / 383.1 MB, free: 30.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02855/0.5689, allocations: 14.98 MB / 398.1 MB, free: 27.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004329/0.5733, allocations: 4.194 MB / 402.3 MB, free: 24.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002843/0.5762, allocations: 2.005 MB / 404.3 MB, free: 23.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.5765, allocations: 137.3 kB / 404.4 MB, free: 23.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.5765, allocations: 54.31 kB / 404.5 MB, free: 23.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.95e-06/0.5766, allocations: 0 / 404.5 MB, free: 23.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01784/0.5944, allocations: 10.1 MB / 414.6 MB, free: 16.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.5945, allocations: 73.41 kB / 414.7 MB, free: 16.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.5981, allocations: 2.478 MB / 417.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.5983, allocations: 69.7 kB / 417.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.5994, allocations: 1.627 MB / 418.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004974/0.5999, allocations: 0.721 MB / 419.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.6, allocations: 54.41 kB / 419.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6002, allocations: 394.6 kB / 420 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.6019, allocations: 1.308 MB / 421.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.6036, allocations: 1.785 MB / 423.1 MB, free: 8.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.6055, allocations: 1.56 MB / 424.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.6055, allocations: 4 kB / 424.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005903/0.6114, allocations: 4.074 MB / 428.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.6114, allocations: 12 kB / 428.7 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.6115, allocations: 15.98 kB / 428.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002412/0.6139, allocations: 0.8818 MB / 429.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.6157, allocations: 0.5312 MB / 430.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009817/0.6255, allocations: 8.735 MB / 438.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.6282, allocations: 127.9 kB / 439 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/0.6284, allocations: 86.23 kB / 439.1 MB, free: 7.902 MB / 334.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.002679/0.6311, allocations: 1.212 MB / 440.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008066/0.6319, allocations: 272.7 kB / 440.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006269/0.6382, allocations: 3.743 MB / 444.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/0.6382, allocations: 20 kB / 444.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.6383, allocations: 8 kB / 444.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.6383, allocations: 17.17 kB / 444.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.652, allocations: 8.1 MB / 452.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.652, allocations: 0 / 452.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.6536, allocations: 392.9 kB / 452.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002849/0.6565, allocations: 0.9348 MB / 453.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.6567, allocations: 59.97 kB / 453.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/0.6673, allocations: 10.18 MB / 464 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6674, allocations: 6.562 kB / 464 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008815/0.6762, allocations: 5.522 MB / 469.6 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/0.6783, allocations: 0.6304 MB / 470.2 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004/0.6787, allocations: 51.98 kB / 470.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.6799, allocations: 131.8 kB / 470.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004565/0.6804, allocations: 182.6 kB / 470.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.6806, allocations: 59.98 kB / 470.6 MB, free: 7.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003138/0.6837, allocations: 1.715 MB / 472.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6837, allocations: 0 / 472.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003359/0.6871, allocations: 0.7986 MB / 473.1 MB, free: 5.352 MB / 366.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 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000645/0.6877, allocations: 198.6 kB / 473.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006858/0.6946, allocations: 3.901 MB / 477.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.6946, allocations: 4 kB / 477.2 MB, free: 1.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003956/0.6986, allocations: 2.485 MB / 479.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/0.7027, allocations: 0.7587 MB / 480.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.7184, allocations: 9.115 MB / 489.6 MB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/0.7213, allocations: 2.734 MB / 492.3 MB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.7224, allocations: 191.4 kB / 492.5 MB, free: 1.867 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.7224, allocations: 0 / 492.5 MB, free: 1.867 MB / 382.1 MB Notification: Performance of Templates: time 0.3559/1.078, allocations: 141.1 MB / 0.6188 GB, free: 72.46 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_TransformerCalcHelperMain.o] Error 1