Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.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.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_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.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008653/0.0008656, allocations: 92.62 kB / 17.59 MB, free: 6.168 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.001051/0.001051, allocations: 188 kB / 18.48 MB, free: 5.336 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.732/1.732, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004543/0.0004544, allocations: 12 kB / 281.4 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01329/0.1316, allocations: 11.35 MB / 340.3 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009848/0.1415, allocations: 4.026 MB / 344.4 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/0.144, allocations: 59.69 kB / 344.4 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.1463, allocations: 0.7689 MB / 345.2 MB, free: 3.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003849/0.1502, allocations: 1.037 MB / 346.2 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1514, allocations: 327.6 kB / 346.6 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006407/0.1578, allocations: 4.836 MB / 351.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003532/0.1614, allocations: 2.522 MB / 353.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.1651, allocations: 1.564 MB / 355.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004408/0.1695, allocations: 2.101 MB / 357.6 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006923/0.1702, allocations: 251.9 kB / 357.8 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.1719, allocations: 311.9 kB / 358.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.1731, allocations: 1.145 MB / 359.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.1746, allocations: 0.8394 MB / 360.1 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006343/0.1809, allocations: 5.995 MB / 366.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.181, allocations: 0 / 366.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.181, allocations: 0 / 366.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002045/0.1812, 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.009641/0.1908, allocations: 3.994 MB / 370.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.1909, allocations: 12.03 kB / 370.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.1927, allocations: 0.4947 MB / 370.6 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/0.197, allocations: 2.303 MB / 372.9 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.1972, allocations: 267 kB / 373.2 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000506/0.1977, allocations: 355.9 kB / 373.5 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009119/0.2068, allocations: 5.005 MB / 378.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.407e-05/0.207, allocations: 8 kB / 378.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003424/0.2073, allocations: 155.9 kB / 378.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001899/0.2075, allocations: 179.1 kB / 378.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2715/0.479, allocations: 4.286 MB / 383.1 MB, free: 47.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03073/0.5098, allocations: 14.99 MB / 398.1 MB, free: 39.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003912/0.5138, allocations: 4.195 MB / 402.3 MB, free: 35.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002564/0.5164, allocations: 2.009 MB / 404.3 MB, free: 34.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/0.5167, allocations: 136.5 kB / 404.5 MB, free: 34.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.5167, allocations: 53.16 kB / 404.5 MB, free: 34.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.328e-06/0.5167, allocations: 4.562 kB / 404.5 MB, free: 34.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01657/0.5333, allocations: 10.1 MB / 414.6 MB, free: 26.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.5334, allocations: 77.39 kB / 414.7 MB, free: 26.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.5366, allocations: 2.486 MB / 417.2 MB, free: 23.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.5368, allocations: 61.7 kB / 417.2 MB, free: 23.51 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.5379, allocations: 1.618 MB / 418.9 MB, free: 21.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005745/0.5385, allocations: 0.7371 MB / 419.6 MB, free: 21.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.5386, allocations: 44 kB / 419.6 MB, free: 21.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.5388, allocations: 401.5 kB / 420 MB, free: 20.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.5406, allocations: 1.301 MB / 421.3 MB, free: 19.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.5425, allocations: 1.782 MB / 423.1 MB, free: 17.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.5443, allocations: 1.56 MB / 424.7 MB, free: 15.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.5443, allocations: 7.953 kB / 424.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005603/0.5499, allocations: 4.075 MB / 428.8 MB, free: 11.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.55, allocations: 12 kB / 428.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.55, allocations: 12 kB / 428.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002351/0.5524, allocations: 0.8878 MB / 429.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.5542, allocations: 0.5305 MB / 430.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007585/0.5618, allocations: 8.736 MB / 438.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.5642, allocations: 123.9 kB / 439.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.5644, allocations: 84 kB / 439.1 MB, free: 0.9766 MB / 318.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.002317/0.5668, allocations: 1.216 MB / 440.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006865/0.5674, allocations: 280.7 kB / 440.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006182/0.5736, allocations: 3.733 MB / 444.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.5737, allocations: 24 kB / 444.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.5737, allocations: 8 kB / 444.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.5737, allocations: 7.969 kB / 444.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/0.5876, allocations: 8.11 MB / 452.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.5876, allocations: 7.969 kB / 452.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.5892, allocations: 383.5 kB / 452.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/0.5921, allocations: 0.9377 MB / 453.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/0.5923, allocations: 55.97 kB / 453.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.6031, allocations: 10.17 MB / 464.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6031, allocations: 0 / 464.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008862/0.612, allocations: 5.542 MB / 469.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/0.6139, allocations: 0.6343 MB / 470.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004631/0.6144, allocations: 51.98 kB / 470.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.6156, allocations: 123.9 kB / 470.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004328/0.616, allocations: 185.7 kB / 470.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.6162, allocations: 59.98 kB / 470.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002749/0.6189, allocations: 1.715 MB / 472.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.619, allocations: 0 / 472.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003138/0.6221, allocations: 0.7955 MB / 473.2 MB, free: 14.22 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.0006672/0.6228, allocations: 196.4 kB / 473.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006268/0.6291, allocations: 3.896 MB / 477.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/0.6291, allocations: 4 kB / 477.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003985/0.6331, allocations: 2.491 MB / 479.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/0.6374, allocations: 0.7523 MB / 480.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.6519, allocations: 9.11 MB / 489.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/0.6544, allocations: 2.726 MB / 492.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.6555, allocations: 191.4 kB / 492.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6555, allocations: 0 / 492.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of Templates: time 0.3672/1.023, allocations: 141.1 MB / 0.6188 GB, free: 80.2 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.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.Transformers.AIMC_TransformerCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.o] Error 1