Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007353/0.0007354, allocations: 96.34 kB / 17.58 MB, free: 5.797 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.0007635/0.0007635, allocations: 185.6 kB / 18.48 MB, free: 5.25 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.911/1.911, 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.0004696/0.0004698, allocations: 12 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1286, allocations: 47.59 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01219/0.1408, allocations: 10.41 MB / 339.4 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009123/0.15, allocations: 3.613 MB / 343 MB, free: 5.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/0.1526, allocations: 51.75 kB / 343.1 MB, free: 5.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.1552, allocations: 0.6873 MB / 343.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.1596, allocations: 0.9364 MB / 344.7 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.161, allocations: 307.5 kB / 345 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006408/0.1674, allocations: 4.39 MB / 349.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003758/0.1712, allocations: 2.205 MB / 351.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.1746, allocations: 1.409 MB / 353 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004555/0.1792, allocations: 1.915 MB / 354.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009553/0.1802, allocations: 216 kB / 355.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.1819, allocations: 287.8 kB / 355.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.1832, allocations: 1.051 MB / 356.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.1849, allocations: 0.7498 MB / 357.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006232/0.1911, allocations: 5.283 MB / 362.5 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.1911, allocations: 0 / 362.5 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.568e-06/0.1912, allocations: 4 kB / 362.5 MB, free: 2.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002529/0.1914, allocations: 0 / 362.5 MB, free: 2.406 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01013/0.2016, allocations: 3.667 MB / 366.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.2017, allocations: 16.02 kB / 366.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/0.2042, allocations: 439 kB / 366.6 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/0.2092, allocations: 2.157 MB / 368.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.2095, allocations: 230.2 kB / 369 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006825/0.2102, allocations: 307.9 kB / 369.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008801/0.219, allocations: 4.35 MB / 373.6 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.129e-05/0.2191, allocations: 11.91 kB / 373.6 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003073/0.2194, allocations: 128 kB / 373.8 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.2196, allocations: 130 kB / 373.9 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007504/0.2271, allocations: 3.771 MB / 377.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3071/0.5342, allocations: 13.62 MB / 391.3 MB, free: 43.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004034/0.5383, allocations: 2.89 MB / 394.2 MB, free: 41.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002814/0.5412, allocations: 1.692 MB / 395.9 MB, free: 40.9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/0.5415, allocations: 133.9 kB / 396 MB, free: 40.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.5415, allocations: 54.69 kB / 396.1 MB, free: 40.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.408e-06/0.5416, allocations: 7.656 kB / 396.1 MB, free: 40.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01765/0.5592, allocations: 9.276 MB / 405.3 MB, free: 35.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.5593, allocations: 71.97 kB / 405.4 MB, free: 35.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/0.5628, allocations: 2.341 MB / 407.7 MB, free: 33.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002673/0.5631, allocations: 61.7 kB / 407.8 MB, free: 33.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008712/0.564, allocations: 1.466 MB / 409.3 MB, free: 32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004559/0.5644, allocations: 0.6023 MB / 409.9 MB, free: 31.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.5645, allocations: 43.94 kB / 409.9 MB, free: 31.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5647, allocations: 387.3 kB / 410.3 MB, free: 30.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.5662, allocations: 1.128 MB / 411.4 MB, free: 29.85 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.5678, allocations: 1.563 MB / 413 MB, free: 28.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.5694, allocations: 1.345 MB / 414.3 MB, free: 26.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.5695, allocations: 4 kB / 414.3 MB, free: 26.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005373/0.5748, allocations: 3.597 MB / 417.9 MB, free: 23.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.5749, allocations: 12 kB / 417.9 MB, free: 23.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.5749, allocations: 12 kB / 418 MB, free: 23.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/0.5767, allocations: 0.7943 MB / 418.8 MB, free: 22.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.5782, allocations: 463.2 kB / 419.2 MB, free: 21.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007891/0.5861, allocations: 10.28 MB / 429.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.5885, allocations: 135.8 kB / 429.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.5888, allocations: 79.98 kB / 429.7 MB, free: 10.69 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002163/0.5909, allocations: 1.095 MB / 430.8 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/0.5916, allocations: 245.1 kB / 431 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005149/0.5967, allocations: 3.307 MB / 434.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.5968, allocations: 23.98 kB / 434.4 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.5968, allocations: 7.953 kB / 434.4 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.5968, allocations: 7.969 kB / 434.4 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.6076, allocations: 6.897 MB / 441.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.6077, allocations: 0 / 441.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.6089, allocations: 307.5 kB / 441.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/0.6112, allocations: 0.916 MB / 442.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.6114, allocations: 47.92 kB / 442.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/0.6247, allocations: 13.43 MB / 456 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.6247, allocations: 4.031 kB / 456 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008109/0.6328, allocations: 4.874 MB / 460.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/0.6346, allocations: 0.5682 MB / 461.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004411/0.6351, allocations: 36 kB / 461.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.6363, allocations: 135.9 kB / 461.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004178/0.6367, allocations: 161.7 kB / 461.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.6368, allocations: 47.98 kB / 461.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002754/0.6396, allocations: 1.613 MB / 463.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6396, allocations: 0 / 463.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00295/0.6426, allocations: 0.707 MB / 464.1 MB, free: 7.094 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004506/0.643, allocations: 172 kB / 464.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00556/0.6486, allocations: 3.582 MB / 467.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.6487, allocations: 3.938 kB / 467.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003781/0.6524, allocations: 2.513 MB / 470.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/0.6566, allocations: 0.6838 MB / 471.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.6701, allocations: 7.975 MB / 479 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002359/0.6725, allocations: 2.482 MB / 481.5 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.6736, allocations: 167.4 kB / 481.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6737, allocations: 3.938 kB / 481.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of Templates: time 0.3917/1.065, allocations: 167.1 MB / 0.6335 GB, free: 66.57 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_StartCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_StartCalcHelperMain.o] Error 1