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.001164/0.001164, allocations: 98.11 kB / 17.96 MB, free: 5.637 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.001251/0.001251, allocations: 171.8 kB / 18.86 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.324/2.324, allocations: 205.4 MB / 225 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.0005612/0.0005613, allocations: 15.98 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1553, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01896/0.1743, allocations: 12.11 MB / 341.7 MB, free: 7.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.1875, allocations: 4.149 MB / 345.9 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004856/0.1925, allocations: 59.69 kB / 345.9 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005499/0.198, allocations: 0.8509 MB / 346.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009429/0.2075, allocations: 1.08 MB / 347.9 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004108/0.2117, allocations: 467.5 kB / 348.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01291/0.2247, allocations: 5.374 MB / 353.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007838/0.2326, allocations: 2.934 MB / 356.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006375/0.239, allocations: 1.609 MB / 358.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006437/0.2455, allocations: 2.182 MB / 360.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002269/0.2479, allocations: 244 kB / 360.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.2515, allocations: 347.8 kB / 361 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003348/0.2549, allocations: 1.141 MB / 362.1 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008171/0.2631, allocations: 2.092 MB / 364.2 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.275, allocations: 5.999 MB / 370.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/0.2751, allocations: 0 / 370.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.2751, allocations: 0 / 370.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003497/0.2755, allocations: 0 / 370.2 MB, free: 10.93 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.01588/0.2914, allocations: 3.955 MB / 374.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.752e-05/0.2915, allocations: 12.02 kB / 374.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.2952, allocations: 0.4917 MB / 374.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007858/0.303, allocations: 2.38 MB / 377.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004679/0.3036, allocations: 274.9 kB / 377.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00202/0.3056, allocations: 351.9 kB / 377.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3505/0.6562, allocations: 5.026 MB / 382.7 MB, free: 32.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00049/0.6567, allocations: 6.688 kB / 382.7 MB, free: 32.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002727/0.6595, allocations: 146 kB / 382.9 MB, free: 32.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006465/0.6602, allocations: 179.1 kB / 383 MB, free: 32.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/0.682, allocations: 4.314 MB / 387.3 MB, free: 32.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05491/0.7369, allocations: 15.01 MB / 402.4 MB, free: 25.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006288/0.7433, allocations: 4.202 MB / 406.6 MB, free: 21.81 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004079/0.7474, allocations: 2.019 MB / 408.6 MB, free: 20.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004093/0.7479, allocations: 134.8 kB / 408.7 MB, free: 20.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.269e-05/0.748, allocations: 52.91 kB / 408.8 MB, free: 20.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 5.831e-06/0.748, allocations: 0 / 408.8 MB, free: 20.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.02846/0.7765, allocations: 10.12 MB / 418.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.7767, allocations: 73.41 kB / 418.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006828/0.7836, allocations: 2.502 MB / 421.5 MB, free: 8.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007531/0.7844, allocations: 66.36 kB / 421.5 MB, free: 8.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001806/0.7862, allocations: 1.624 MB / 423.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001423/0.7877, allocations: 0.7284 MB / 423.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008183/0.7885, allocations: 198.3 kB / 424.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.7887, allocations: 307 kB / 424.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/0.7913, allocations: 1.312 MB / 425.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/0.7943, allocations: 1.79 MB / 427.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005785/0.8002, allocations: 3.253 MB / 430.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.657e-05/0.8002, allocations: 4 kB / 430.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01217/0.8124, allocations: 4.091 MB / 434.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.989e-05/0.8126, allocations: 15.98 kB / 434.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.085e-05/0.8126, allocations: 12 kB / 434.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003683/0.8163, allocations: 0.8773 MB / 435.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/0.8193, allocations: 0.5267 MB / 436.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/0.8342, allocations: 8.754 MB / 445 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/0.8377, allocations: 119.9 kB / 445.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007502/0.8385, allocations: 95.98 kB / 445.2 MB, free: 0.5586 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 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004584/0.8431, allocations: 1.211 MB / 446.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/0.8445, allocations: 276.7 kB / 446.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008366/0.8529, allocations: 3.744 MB / 450.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.573e-05/0.8529, allocations: 27.94 kB / 450.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.741e-05/0.853, allocations: 8 kB / 450.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/0.853, allocations: 10.27 kB / 450.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/0.8728, allocations: 8.123 MB / 458.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.8729, allocations: 10.47 kB / 458.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/0.8747, allocations: 386.6 kB / 459 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003818/0.8785, allocations: 0.9383 MB / 459.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004493/0.879, allocations: 51.98 kB / 460 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/0.8933, allocations: 10.2 MB / 470.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.8934, allocations: 4 kB / 470.2 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/0.9049, allocations: 5.556 MB / 475.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002807/0.9078, allocations: 0.6304 MB / 476.4 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/0.9089, allocations: 55.92 kB / 476.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/0.911, allocations: 127.9 kB / 476.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006014/0.9116, allocations: 180.7 kB / 476.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/0.9118, allocations: 59.98 kB / 476.8 MB, free: 460 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004302/0.9161, allocations: 1.732 MB / 478.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.9161, allocations: 0 / 478.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00554/0.9217, allocations: 0.7962 MB / 479.3 MB, free: 13.91 MB / 382.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 (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/0.9229, allocations: 236.5 kB / 479.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008965/0.9319, allocations: 3.913 MB / 483.5 MB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/0.932, allocations: 5.438 kB / 483.5 MB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006215/0.9382, allocations: 2.489 MB / 485.9 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007447/0.9457, allocations: 0.7391 MB / 486.7 MB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/0.9705, allocations: 9.516 MB / 496.2 MB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004265/0.9748, allocations: 2.73 MB / 498.9 MB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/0.9762, allocations: 191.3 kB / 499.1 MB, free: 10 MB / 398.1 MB Notification: Performance of SimCode: time 1.633e-06/0.9762, allocations: 0 / 499.1 MB, free: 10 MB / 398.1 MB Notification: Performance of Templates: time 0.4961/1.472, allocations: 141.1 MB / 0.6252 GB, free: 64.17 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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