Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.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.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000849/0.0008488, allocations: 95.44 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008406/0.0008407, allocations: 198.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.3 MB / 246.6 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002737, allocations: 4 kB / 307.3 MB, free: 1.586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 51.5 MB / 358.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.2982/0.4158, allocations: 30.18 MB / 389 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.026/0.4419, allocations: 8.251 MB / 397.3 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01067/0.4526, allocations: 222 kB / 397.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008358/0.461, allocations: 1.553 MB / 399 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01592/0.477, allocations: 2.443 MB / 401.5 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007184/0.4842, allocations: 1.261 MB / 402.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02744/0.5117, allocations: 15.97 MB / 418.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01942/0.5312, allocations: 9.765 MB / 428.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01285/0.5441, allocations: 4.958 MB / 433.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0154/0.5595, allocations: 6.404 MB / 439.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005232/0.5648, allocations: 0.8594 MB / 440.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.5752, allocations: 1.062 MB / 441.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00793/0.5832, allocations: 3.153 MB / 444.9 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009662/0.5929, allocations: 2.983 MB / 447.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03697/0.6299, allocations: 23.73 MB / 471.6 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.6299, allocations: 0 / 471.6 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.959e-06/0.63, allocations: 3.938 kB / 471.6 MB, free: 12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001147/0.6311, allocations: 4 kB / 471.6 MB, free: 12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3573 * Number of variables: 3573 Notification: Performance of Generate backend data structure: time 0.04683/0.678, allocations: 14.53 MB / 486.2 MB, free: 13.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.678, allocations: 12.03 kB / 486.2 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02325/0.7013, allocations: 3.706 MB / 489.9 MB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02427/0.7256, allocations: 8.89 MB / 498.8 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001451/0.7271, allocations: 0.9834 MB / 499.7 MB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007057/0.7342, allocations: 1.312 MB / 0.4893 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06761/0.8018, allocations: 19.36 MB / 0.5082 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009262/0.8028, allocations: 15.89 kB / 0.5082 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006495/0.8093, allocations: 0.539 MB / 0.5088 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007779/0.8101, allocations: 0.6322 MB / 0.5094 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04991/0.86, allocations: 17.1 MB / 0.5261 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6517/1.512, allocations: 59.85 MB / 0.5845 GB, free: 89.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03428/1.546, allocations: 34.38 MB / 0.6181 GB, free: 58.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0128/1.559, allocations: 6.983 MB / 0.6249 GB, free: 51.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03996/1.599, allocations: 19.33 MB / 0.6438 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/1.599, allocations: 103.2 kB / 0.6439 GB, free: 31.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=600): time 8.385e-06/1.599, allocations: 0 / 0.6439 GB, free: 31.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=713): time 0.08558/1.685, allocations: 34.64 MB / 0.6777 GB, free: 12.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.685, allocations: 125 kB / 0.6778 GB, free: 12.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01635/1.701, allocations: 6.387 MB / 0.6841 GB, free: 6.125 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001785/1.703, allocations: 145.7 kB / 0.6842 GB, free: 5.977 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005811/1.709, allocations: 5.574 MB / 0.6897 GB, free: 376 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004046/1.713, allocations: 2.391 MB / 0.692 GB, free: 13.99 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/1.715, allocations: 159.9 kB / 0.6921 GB, free: 13.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0009336/1.716, allocations: 0.6089 MB / 0.6927 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00889/1.725, allocations: 3.993 MB / 0.6966 GB, free: 9.223 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01085/1.735, allocations: 5.823 MB / 0.7023 GB, free: 2.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/1.746, allocations: 5.09 MB / 0.7073 GB, free: 13.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.551e-05/1.747, allocations: 16 kB / 0.7073 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.4266/2.173, allocations: 13.46 MB / 0.7205 GB, free: 156.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/2.173, allocations: 29.34 kB / 0.7205 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001835/2.174, allocations: 52.56 kB / 0.7205 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/2.184, allocations: 3.116 MB / 0.7236 GB, free: 155.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00749/2.192, allocations: 1.384 MB / 0.7249 GB, free: 155.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0565/2.248, allocations: 44.73 MB / 0.7686 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008391/2.257, allocations: 321.2 kB / 0.7689 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001921/2.259, allocations: 313.7 kB / 0.7692 GB, free: 125.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 234 * Number of states: 0 () * Number of discrete variables: 5 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 743 * 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: 15 * 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: 15 {(8,67.2%) 49,(8,78.1%) 53,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01228/2.271, allocations: 4.486 MB / 0.7736 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002495/2.274, allocations: 0.7232 MB / 0.7743 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02209/2.296, allocations: 12.27 MB / 0.7863 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.436e-05/2.296, allocations: 68 kB / 0.7863 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001387/2.296, allocations: 40 kB / 0.7864 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001336/2.296, allocations: 38.38 kB / 0.7864 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0612/2.357, allocations: 27.39 MB / 0.8132 GB, free: 91.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/2.357, allocations: 8 kB / 0.8132 GB, free: 91.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003854/2.361, allocations: 0.8622 MB / 0.814 GB, free: 90.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008248/2.369, allocations: 3.425 MB / 0.8174 GB, free: 86.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001643/2.371, allocations: 195.9 kB / 0.8175 GB, free: 86.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05336/2.425, allocations: 45.51 MB / 0.862 GB, free: 39.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/2.425, allocations: 12.92 kB / 0.862 GB, free: 39.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04459/2.469, allocations: 17.67 MB / 0.8793 GB, free: 22.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007923/2.477, allocations: 1.781 MB / 0.881 GB, free: 20.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004604/2.482, allocations: 179.9 kB / 0.8812 GB, free: 20.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008845/2.491, allocations: 327.3 kB / 0.8815 GB, free: 19.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003626/2.494, allocations: 0.5798 MB / 0.882 GB, free: 19.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001906/2.496, allocations: 188 kB / 0.8822 GB, free: 18.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01465/2.511, allocations: 4.365 MB / 0.8865 GB, free: 14.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.443e-06/2.511, allocations: 0 / 0.8865 GB, free: 14.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.02008/2.531, allocations: 2.678 MB / 0.8891 GB, free: 11.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 22 (aimc0.inertiaRotor.w,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.re,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorque0.phi,aimcH.inertiaRotor.w,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.re,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueH.phi,aimc1.inertiaRotor.w,aimc1.stator.core.Phi.re,aimc1.stator.core.Phi.im,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorque1.phi) * Number of discrete variables: 5 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 426 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(8,78.1%) 52,(8,67.2%) 48,(6,86.1%) 51,(1,100.0%) 1,(3,100.0%) 22,(1,100.0%) 9,(1,100.0%) 1,(3,100.0%) 22,(1,100.0%) 9,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002473/2.534, allocations: 353.4 kB / 0.8894 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.3519/2.886, allocations: 13.21 MB / 0.9023 GB, free: 144.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.249e-05/2.886, allocations: 3.125 kB / 0.9023 GB, free: 144.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02028/2.906, allocations: 8.261 MB / 0.9104 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01742/2.923, allocations: 1.933 MB / 0.9123 GB, free: 142.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07623/3, allocations: 30.77 MB / 0.9423 GB, free: 129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02076/3.021, allocations: 8.123 MB / 0.9503 GB, free: 126.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003286/3.024, allocations: 0.5091 MB / 0.9508 GB, free: 126.3 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/3.024, allocations: 0 / 0.9508 GB, free: 126.3 MB / 494.1 MB Notification: Performance of Templates: time 3.398/6.422, allocations: 1.225 GB / 2.175 GB, free: 37.85 MB / 0.5138 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.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.ComparisonPolyphase.IMC_DOL_CommonLeakageCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakageCalcHelperMain.o] Error 1