Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007793/0.0007791, allocations: 93.3 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.0009044/0.0009044, allocations: 199.3 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.558/1.558, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003367, allocations: 7.938 kB / 307.3 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1534, allocations: 51.5 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007064/0.1605, allocations: 5.736 MB / 364.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.1651, allocations: 2.049 MB / 366.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007475/0.1659, allocations: 39.81 kB / 366.6 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007195/0.1667, allocations: 266.4 kB / 366.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.1688, allocations: 0.7272 MB / 367.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.1695, allocations: 231.6 kB / 367.8 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004064/0.1736, allocations: 3.238 MB / 371.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.1757, allocations: 1.485 MB / 372.6 MB, free: 56 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3061/0.4818, allocations: 0.969 MB / 373.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003995/0.4858, allocations: 1.341 MB / 374.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008996/0.4868, allocations: 137 kB / 375 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.4886, allocations: 263.7 kB / 375.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.4901, allocations: 0.6496 MB / 375.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.4918, allocations: 0.5128 MB / 376.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008094/0.4999, allocations: 3.224 MB / 379.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.5, allocations: 0.8438 kB / 379.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.5, allocations: 3.281 kB / 379.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002133/0.5002, allocations: 1.438 kB / 379.7 MB, free: 9.742 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.01276/0.513, allocations: 3.048 MB / 382.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.513, allocations: 9.375 kB / 382.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006166/0.5192, allocations: 0.7872 MB / 383.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006538/0.5258, allocations: 1.562 MB / 385.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.5262, allocations: 181.1 kB / 385.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/0.5276, allocations: 229.6 kB / 385.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008156/0.5358, allocations: 3.199 MB / 388.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.833e-05/0.5359, allocations: 0 / 388.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002903/0.5362, allocations: 95.59 kB / 388.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/0.5363, allocations: 72.89 kB / 388.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006061/0.5424, allocations: 2.881 MB / 391.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.5592, allocations: 9.297 MB / 401 MB, free: 24 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006022/0.5652, allocations: 4.386 MB / 405.4 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.5668, allocations: 0.8226 MB / 406.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005641/0.5724, allocations: 3.171 MB / 409.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.566e-05/0.5725, allocations: 48.02 kB / 409.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 4.579e-06/0.5725, allocations: 0 / 409.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009761/0.5823, allocations: 4.269 MB / 413.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/0.5825, allocations: 115.2 kB / 413.8 MB, free: 2.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/0.5852, allocations: 1.577 MB / 415.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.5853, allocations: 45.7 kB / 415.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009793/0.5863, allocations: 1.107 MB / 416.5 MB, free: 52 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000406/0.5867, allocations: 355.1 kB / 416.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.5868, allocations: 28 kB / 416.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.587, allocations: 361.9 kB / 417.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.5883, allocations: 0.6466 MB / 417.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.5897, allocations: 1.026 MB / 418.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.5911, allocations: 0.8139 MB / 419.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.5912, allocations: 10.41 kB / 419.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003783/0.595, allocations: 1.958 MB / 421.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.595, allocations: 15.95 kB / 421.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.595, allocations: 20 kB / 421.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004105/0.5955, allocations: 121.6 kB / 421.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.5967, allocations: 346.8 kB / 422.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003361/0.6001, allocations: 3.189 MB / 425.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.6018, allocations: 103.6 kB / 425.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.6019, allocations: 52.28 kB / 425.6 MB, free: 6.695 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 153 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002273/0.6042, allocations: 0.829 MB / 426.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004866/0.6047, allocations: 150.2 kB / 426.5 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.6075, allocations: 1.42 MB / 428 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.6075, allocations: 16 kB / 428 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.6075, allocations: 4 kB / 428 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.6076, allocations: 8.844 kB / 428 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00508/0.6126, allocations: 2.449 MB / 430.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.6127, allocations: 0 / 430.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/0.6136, allocations: 199.8 kB / 430.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007524/0.6144, allocations: 260.2 kB / 430.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-05/0.6145, allocations: 31.98 kB / 430.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007677/0.6221, allocations: 5.771 MB / 436.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6222, allocations: 4.031 kB / 436.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005933/0.6282, allocations: 2.6 MB / 439.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.6296, allocations: 247.2 kB / 439.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008539/0.6305, allocations: 35.94 kB / 439.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.6321, allocations: 104 kB / 439.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/0.6325, allocations: 100.3 kB / 439.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.6326, allocations: 31.98 kB / 439.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002443/0.635, allocations: 1.099 MB / 440.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.635, allocations: 0 / 440.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002842/0.6379, allocations: 444 kB / 441.3 MB, free: 6.391 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 16,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005117/0.6384, allocations: 159.3 kB / 441.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003945/0.6424, allocations: 1.74 MB / 443.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.6424, allocations: 0 / 443.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002666/0.6451, allocations: 1.18 MB / 444.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/0.6485, allocations: 280.7 kB / 444.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.6614, allocations: 5.528 MB / 450.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002501/0.6639, allocations: 2.034 MB / 452.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000818/0.6648, allocations: 107.4 kB / 452.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.585e-06/0.6648, allocations: 4 kB / 452.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of Templates: time 0.07659/0.7414, allocations: 56.31 MB / 0.4967 GB, free: 2.965 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.Components.PolyphaseInductanceCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductanceCalcHelperMain.o] Error 1