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.001483/0.001483, allocations: 110.2 kB / 17.81 MB, free: 5.559 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.001433/0.001434, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.039/2.039, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001685/0.001685, allocations: 47.94 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1586, allocations: 46.63 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01871/0.1774, allocations: 12.71 MB / 340 MB, free: 8.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.1903, allocations: 4.207 MB / 344.2 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004617/0.1951, allocations: 59.69 kB / 344.2 MB, free: 3.832 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00471/0.1998, allocations: 0.8509 MB / 345.1 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0072/0.2071, allocations: 1.08 MB / 346.2 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.2096, allocations: 467.6 kB / 346.6 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01101/0.2206, allocations: 5.37 MB / 352 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007588/0.2283, allocations: 2.969 MB / 355 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006664/0.235, allocations: 1.804 MB / 356.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006595/0.2416, allocations: 2.459 MB / 359.2 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002659/0.2443, allocations: 340 kB / 359.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.2484, allocations: 439.8 kB / 360 MB, free: 3.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002926/0.2513, allocations: 1.289 MB / 361.3 MB, free: 2.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007709/0.2591, allocations: 2.235 MB / 363.5 MB, free: 444 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.2698, allocations: 6.165 MB / 369.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.597e-05/0.2699, allocations: 0 / 369.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.2699, allocations: 0 / 369.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004382/0.2704, allocations: 0 / 369.7 MB, free: 10.25 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.02007/0.2904, allocations: 4.679 MB / 374.3 MB, free: 5.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.513e-05/0.2905, allocations: 12.03 kB / 374.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.2933, allocations: 0.4956 MB / 374.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007188/0.3005, allocations: 2.373 MB / 377.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/0.3009, allocations: 271 kB / 377.5 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/0.3025, allocations: 355.9 kB / 377.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3365/0.639, allocations: 5.016 MB / 382.9 MB, free: 47.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/0.6392, allocations: 8.734 kB / 382.9 MB, free: 47.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008069/0.64, allocations: 144.7 kB / 383 MB, free: 47.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002845/0.6403, allocations: 180.4 kB / 383.2 MB, free: 47.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.6555, allocations: 4.295 MB / 387.5 MB, free: 46.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03574/0.6913, allocations: 14.92 MB / 402.4 MB, free: 36.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005339/0.6967, allocations: 4.198 MB / 406.6 MB, free: 33.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00387/0.7006, allocations: 1.997 MB / 408.6 MB, free: 32.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/0.7011, allocations: 138.9 kB / 408.7 MB, free: 31.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/0.7011, allocations: 52.56 kB / 408.8 MB, free: 31.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 4.789e-06/0.7012, allocations: 0 / 408.8 MB, free: 31.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01934/0.7205, allocations: 10.01 MB / 418.8 MB, free: 21.74 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.7206, allocations: 73.41 kB / 418.9 MB, free: 21.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003829/0.7244, allocations: 2.51 MB / 421.4 MB, free: 19.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005289/0.725, allocations: 61.7 kB / 421.4 MB, free: 19.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.7261, allocations: 1.614 MB / 423 MB, free: 17.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008302/0.7269, allocations: 0.7304 MB / 423.8 MB, free: 16.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006471/0.7276, allocations: 424.2 kB / 424.2 MB, free: 16.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.7276, allocations: 301.1 kB / 424.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/0.7297, allocations: 1.305 MB / 425.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.7315, allocations: 1.782 MB / 427.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003622/0.7351, allocations: 3.214 MB / 430.8 MB, free: 9.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.7352, allocations: 4 kB / 430.8 MB, free: 9.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006157/0.7413, allocations: 4.075 MB / 434.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.7414, allocations: 12 kB / 434.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/0.7414, allocations: 12.47 kB / 434.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002658/0.7441, allocations: 0.8854 MB / 435.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/0.7461, allocations: 0.5188 MB / 436.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00979/0.7559, allocations: 8.735 MB / 445 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00338/0.7593, allocations: 119.8 kB / 445.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004948/0.7599, allocations: 83.98 kB / 445.2 MB, free: 10.44 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.003666/0.7636, allocations: 1.219 MB / 446.4 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009662/0.7646, allocations: 276.7 kB / 446.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007254/0.7718, allocations: 3.719 MB / 450.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.825e-05/0.772, allocations: 20 kB / 450.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/0.772, allocations: 8 kB / 450.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.56e-05/0.772, allocations: 15.89 kB / 450.5 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/0.7886, allocations: 8.09 MB / 458.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.7887, allocations: 0 / 458.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.7904, allocations: 391.8 kB / 458.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003307/0.7938, allocations: 0.9291 MB / 459.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002574/0.794, allocations: 55.97 kB / 459.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/0.807, allocations: 10.18 MB / 470.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.8071, allocations: 7.984 kB / 470.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.8173, allocations: 5.509 MB / 475.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/0.8197, allocations: 0.6343 MB / 476.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00066/0.8204, allocations: 51.98 kB / 476.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.8219, allocations: 115.9 kB / 476.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005708/0.8225, allocations: 181.7 kB / 476.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/0.8227, allocations: 59.98 kB / 476.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003194/0.8259, allocations: 1.734 MB / 478.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8259, allocations: 0 / 478.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003313/0.8292, allocations: 0.7994 MB / 479.2 MB, free: 7.734 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 (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.0006937/0.8299, allocations: 231.9 kB / 479.4 MB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007513/0.8374, allocations: 3.878 MB / 483.3 MB, free: 3.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.8375, allocations: 3.938 kB / 483.3 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004365/0.8419, allocations: 2.468 MB / 485.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004928/0.8468, allocations: 0.7405 MB / 486.5 MB, free: 268 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.8648, allocations: 9.364 MB / 495.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003082/0.868, allocations: 2.723 MB / 498.6 MB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/0.8692, allocations: 191.4 kB / 498.8 MB, free: 3.914 MB / 382.1 MB Notification: Performance of SimCode: time 2.204e-06/0.8692, allocations: 3.938 kB / 498.8 MB, free: 3.91 MB / 382.1 MB Notification: Performance of Templates: time 0.481/1.35, allocations: 141.6 MB / 0.6254 GB, free: 73.85 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