Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008488/0.0008487, allocations: 88.39 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.667/1.667, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.0002589, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2889/0.4137, allocations: 17.81 MB / 376.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.4278, allocations: 5.505 MB / 382.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004287/0.4321, allocations: 116.8 kB / 382.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004024/0.4361, allocations: 0.9748 MB / 383.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008409/0.4446, allocations: 1.571 MB / 384.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003749/0.4483, allocations: 0.8248 MB / 385.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01326/0.4616, allocations: 6.566 MB / 392.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009687/0.4714, allocations: 3.616 MB / 395.8 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006846/0.4782, allocations: 2.089 MB / 397.9 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007209/0.4855, allocations: 2.754 MB / 400.6 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002256/0.4878, allocations: 333.6 kB / 401 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004851/0.4926, allocations: 0.5833 MB / 401.5 MB, free: 1.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003271/0.4959, allocations: 1.406 MB / 403 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003928/0.4999, allocations: 1.167 MB / 404.1 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01299/0.5129, allocations: 8.685 MB / 412.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5129, allocations: 0 / 412.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.513, allocations: 0 / 412.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004149/0.5134, allocations: 0 / 412.8 MB, free: 7.188 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.017/0.5304, allocations: 5.713 MB / 418.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5304, allocations: 8.031 kB / 418.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006588/0.537, allocations: 1.121 MB / 419.6 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009628/0.5467, allocations: 3.468 MB / 423.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006474/0.5474, allocations: 390.2 kB / 423.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002724/0.5502, allocations: 0.5154 MB / 424 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02188/0.5721, allocations: 6.918 MB / 430.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003157/0.5724, allocations: 11.86 kB / 430.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001582/0.574, allocations: 212 kB / 431.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002778/0.5743, allocations: 242.2 kB / 431.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01553/0.5899, allocations: 5.9 MB / 437.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04807/0.638, allocations: 21.54 MB / 458.8 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.6488, allocations: 8.71 MB / 467.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004963/0.6538, allocations: 2.387 MB / 469.9 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/0.6686, allocations: 6.381 MB / 476.3 MB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/0.6687, allocations: 60.56 kB / 476.4 MB, free: 5.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 4.849e-06/0.6687, allocations: 0 / 476.4 MB, free: 5.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.02595/0.6947, allocations: 11.42 MB / 487.8 MB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.6948, allocations: 81.34 kB / 487.9 MB, free: 10.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006668/0.7015, allocations: 2.983 MB / 490.8 MB, free: 7.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004622/0.702, allocations: 65.7 kB / 490.9 MB, free: 6.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001999/0.704, allocations: 2.319 MB / 493.2 MB, free: 4.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001129/0.7052, allocations: 0.8126 MB / 494 MB, free: 3.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/0.7055, allocations: 60 kB / 494.1 MB, free: 3.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.7058, allocations: 423.9 kB / 494.5 MB, free: 3.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002542/0.7083, allocations: 1.349 MB / 495.9 MB, free: 1.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003103/0.7115, allocations: 2.139 MB / 498 MB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/0.7146, allocations: 1.697 MB / 499.7 MB, free: 13.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-05/0.7146, allocations: 8 kB / 499.7 MB, free: 13.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.009452/0.7241, allocations: 4.644 MB / 0.4925 GB, free: 9.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/0.7242, allocations: 16 kB / 0.4925 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.884e-05/0.7243, allocations: 24 kB / 0.4926 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/0.7264, allocations: 0.7585 MB / 0.4933 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/0.7291, allocations: 0.6318 MB / 0.4939 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/0.7435, allocations: 13.4 MB / 0.507 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003637/0.7472, allocations: 171.7 kB / 0.5072 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008241/0.748, allocations: 124 kB / 0.5073 GB, free: 8.949 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 7 {(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005423/0.7535, allocations: 1.602 MB / 0.5089 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/0.7549, allocations: 320.1 kB / 0.5092 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009458/0.7644, allocations: 4.219 MB / 0.5133 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.7644, allocations: 20 kB / 0.5133 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.137e-05/0.7645, allocations: 12 kB / 0.5133 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/0.7645, allocations: 7.969 kB / 0.5133 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/0.786, allocations: 9.139 MB / 0.5222 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.7861, allocations: 4 kB / 0.5222 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/0.7878, allocations: 371.5 kB / 0.5226 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002493/0.7903, allocations: 0.928 MB / 0.5235 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/0.7906, allocations: 67.97 kB / 0.5236 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3367/1.127, allocations: 16.49 MB / 0.5397 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/1.127, allocations: 5.281 kB / 0.5397 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/1.139, allocations: 6.06 MB / 0.5456 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002399/1.141, allocations: 0.703 MB / 0.5463 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000661/1.142, allocations: 58.44 kB / 0.5463 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.143, allocations: 142.4 kB / 0.5465 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006657/1.144, allocations: 192.5 kB / 0.5467 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001834/1.144, allocations: 70.09 kB / 0.5467 GB, free: 127.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004578/1.149, allocations: 2.027 MB / 0.5487 GB, free: 126.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.71e-07/1.149, allocations: 3.844 kB / 0.5487 GB, free: 126.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005424/1.154, allocations: 0.9923 MB / 0.5497 GB, free: 126.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007208/1.155, allocations: 225.3 kB / 0.5499 GB, free: 126.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009052/1.164, allocations: 4.585 MB / 0.5544 GB, free: 124.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.164, allocations: 0 / 0.5544 GB, free: 124.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005577/1.17, allocations: 3.051 MB / 0.5574 GB, free: 122.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007724/1.178, allocations: 0.8801 MB / 0.5582 GB, free: 122.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/1.204, allocations: 11.85 MB / 0.5698 GB, free: 115.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004892/1.209, allocations: 3.353 MB / 0.5731 GB, free: 114.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/1.21, allocations: 235.9 kB / 0.5733 GB, free: 114.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.094e-06/1.21, allocations: 0 / 0.5733 GB, free: 114.1 MB / 446.1 MB Notification: Performance of Templates: time 0.9642/2.174, allocations: 313.5 MB / 0.8794 GB, free: 164.8 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.o] Error 1