Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.0012, allocations: 97.81 kB / 16.96 MB, free: 6.453 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.001241/0.001241, allocations: 182 kB / 17.85 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.2 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 13.92 kB / 301.5 MB, free: 6.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1527, allocations: 50.41 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006741/0.1595, allocations: 5.15 MB / 357 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.1643, allocations: 1.956 MB / 359 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.1653, allocations: 35.81 kB / 359 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.1664, allocations: 302.2 kB / 359.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.1681, allocations: 489.4 kB / 359.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.1686, allocations: 135.8 kB / 359.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003136/0.1717, allocations: 2.272 MB / 362.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/0.1744, allocations: 1.413 MB / 363.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.1766, allocations: 0.7627 MB / 364.4 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.1785, allocations: 0.9728 MB / 365.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.1788, allocations: 120 kB / 365.5 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007481/0.1796, allocations: 183.9 kB / 365.6 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006785/0.1803, allocations: 0.51 MB / 366.1 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006784/0.181, allocations: 440.7 kB / 366.6 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004121/0.1851, allocations: 3.085 MB / 369.7 MB, free: 2.098 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1851, allocations: 0 / 369.7 MB, free: 2.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1851, allocations: 0 / 369.7 MB, free: 2.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.1852, allocations: 0 / 369.7 MB, free: 2.098 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.3118/0.497, allocations: 2.043 MB / 371.7 MB, free: 22.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.4971, allocations: 12.77 kB / 371.7 MB, free: 22.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.499, allocations: 251 kB / 372 MB, free: 22.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003503/0.5025, allocations: 1.269 MB / 373.2 MB, free: 22.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.5027, allocations: 134 kB / 373.4 MB, free: 22.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003643/0.5031, allocations: 174.2 kB / 373.5 MB, free: 22.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005934/0.509, allocations: 2.537 MB / 376.1 MB, free: 21.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.5091, allocations: 1.188 kB / 376.1 MB, free: 21.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.5093, allocations: 73 kB / 376.1 MB, free: 21.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.5094, allocations: 104.8 kB / 376.2 MB, free: 21.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004163/0.5136, allocations: 2.108 MB / 378.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.5261, allocations: 7.5 MB / 385.9 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.5277, allocations: 1.265 MB / 387.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007472/0.5284, allocations: 488.9 kB / 387.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.5287, allocations: 115.5 kB / 387.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.5287, allocations: 37.56 kB / 387.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.264e-06/0.5287, allocations: 1.375 kB / 387.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004217/0.533, allocations: 2.292 MB / 390 MB, free: 13.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.533, allocations: 82.83 kB / 390.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.535, allocations: 1.499 MB / 391.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.5351, allocations: 35.98 kB / 391.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006715/0.5357, allocations: 0.971 MB / 392.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.5359, allocations: 196.9 kB / 392.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.5359, allocations: 25.59 kB / 392.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5361, allocations: 361.4 kB / 393.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006872/0.5368, allocations: 456 kB / 393.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.5378, allocations: 1.09 MB / 394.7 MB, free: 9.887 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009795/0.5388, allocations: 0.6783 MB / 395.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.5388, allocations: 9.688 kB / 395.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002451/0.5413, allocations: 1.682 MB / 397.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.5413, allocations: 16.12 kB / 397.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.5414, allocations: 27.39 kB / 397.1 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/0.542, allocations: 186.2 kB / 397.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.5428, allocations: 287.5 kB / 397.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.5445, allocations: 2.164 MB / 399.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008978/0.5454, allocations: 87.59 kB / 399.9 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.5455, allocations: 71.94 kB / 399.9 MB, free: 5.719 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009951/0.5465, allocations: 0.704 MB / 400.6 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.5467, allocations: 134.5 kB / 400.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.5479, allocations: 0.8451 MB / 401.6 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5479, allocations: 4 kB / 401.6 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5479, allocations: 8 kB / 401.6 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.5479, allocations: 3.984 kB / 401.6 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.551, allocations: 2.498 MB / 404.1 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.551, allocations: 4.062 kB / 404.1 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.5513, allocations: 112.2 kB / 404.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005202/0.5519, allocations: 149.5 kB / 404.4 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.5519, allocations: 15.98 kB / 404.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.5538, allocations: 2.095 MB / 406.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5539, allocations: 4.062 kB / 406.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.5559, allocations: 1.329 MB / 407.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/0.5563, allocations: 287.7 kB / 408.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.5565, allocations: 16 kB / 408.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005052/0.557, allocations: 52.03 kB / 408.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.5571, allocations: 59.75 kB / 408.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.5571, allocations: 20 kB / 408.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001726/0.5589, allocations: 1.024 MB / 409.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5589, allocations: 4 kB / 409.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001378/0.5603, allocations: 347.2 kB / 409.6 MB, free: 11.7 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003938/0.5607, allocations: 145.4 kB / 409.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.5627, allocations: 1.153 MB / 410.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.5627, allocations: 4 kB / 410.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007706/0.5635, allocations: 0.522 MB / 411.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.5649, allocations: 366 kB / 411.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/0.5703, allocations: 3.77 MB / 415.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.5717, allocations: 1.666 MB / 417.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.572, allocations: 95.42 kB / 417.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.572, allocations: 0 / 417.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of Templates: time 0.06729/0.6393, allocations: 31.86 MB / 449.2 MB, free: 4.133 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o] Error 1