Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001622, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001881/0.001881, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.1 MB / 224.6 MB, free: 12.38 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.001605/0.001605, allocations: 43.92 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1495, allocations: 46.64 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01452/0.1641, allocations: 10.58 MB / 337.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.1748, allocations: 3.23 MB / 341.1 MB, free: 7.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004631/0.1796, allocations: 67.56 kB / 341.1 MB, free: 6.945 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.1837, allocations: 0.6059 MB / 341.7 MB, free: 6.336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006627/0.1904, allocations: 1.049 MB / 342.8 MB, free: 5.281 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.1929, allocations: 451.6 kB / 343.2 MB, free: 4.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01054/0.2035, allocations: 5.986 MB / 349.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008559/0.2121, allocations: 3.356 MB / 352.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008421/0.2206, allocations: 2.006 MB / 354.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00778/0.2285, allocations: 2.638 MB / 357.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002539/0.2311, allocations: 388 kB / 357.6 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/0.2352, allocations: 483.8 kB / 358.1 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00338/0.2386, allocations: 1.367 MB / 359.4 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00931/0.2479, allocations: 2.488 MB / 361.9 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.2602, allocations: 6.992 MB / 368.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.048e-05/0.2603, allocations: 7.984 kB / 368.9 MB, free: 11 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.2603, allocations: 0 / 368.9 MB, free: 11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005667/0.2609, allocations: 0 / 368.9 MB, free: 11 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.02467/0.2856, allocations: 5.083 MB / 374 MB, free: 5.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001006/0.2857, allocations: 8.031 kB / 374 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/0.2899, allocations: 0.5421 MB / 374.5 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009348/0.2993, allocations: 2.6 MB / 377.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005489/0.2999, allocations: 295.8 kB / 377.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002466/0.3024, allocations: 380 kB / 377.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3547/0.6572, allocations: 5.787 MB / 383.6 MB, free: 46.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.998e-05/0.6573, allocations: 0 / 383.6 MB, free: 46.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007391/0.6581, allocations: 162.6 kB / 383.8 MB, free: 46.31 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003377/0.6584, allocations: 206.7 kB / 384 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/0.677, allocations: 5.018 MB / 389 MB, free: 44.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0476/0.7248, allocations: 16.4 MB / 405.4 MB, free: 34.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00918/0.734, allocations: 6.826 MB / 412.2 MB, free: 27.08 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005137/0.7392, allocations: 2.64 MB / 414.8 MB, free: 24.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004517/0.7397, allocations: 142.7 kB / 415 MB, free: 24.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.7398, allocations: 60.56 kB / 415 MB, free: 24.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=249): time 7.183e-06/0.7398, allocations: 0 / 415 MB, free: 24.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=256): time 0.02658/0.7664, allocations: 10.68 MB / 425.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.7665, allocations: 81.42 kB / 425.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005821/0.7724, allocations: 2.636 MB / 428.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008468/0.7733, allocations: 73.69 kB / 428.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.7746, allocations: 1.639 MB / 430.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001397/0.776, allocations: 0.8337 MB / 431 MB, free: 7.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008678/0.7769, allocations: 416.2 kB / 431.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.494e-05/0.777, allocations: 305.1 kB / 431.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/0.7798, allocations: 1.34 MB / 433 MB, free: 5.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/0.7828, allocations: 1.654 MB / 434.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005548/0.7884, allocations: 3.079 MB / 437.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.7884, allocations: 7.938 kB / 437.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.009582/0.798, allocations: 4.445 MB / 442.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.7981, allocations: 16 kB / 442.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.7981, allocations: 8 kB / 442.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005894/0.804, allocations: 1.638 MB / 443.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.806, allocations: 388.1 kB / 444.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02826/0.8343, allocations: 23.47 MB / 467.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/0.8371, allocations: 95.92 kB / 467.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/0.8374, allocations: 76.06 kB / 467.9 MB, free: 1.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.003197/0.8406, allocations: 1.416 MB / 469.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009504/0.8416, allocations: 292.5 kB / 469.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00837/0.85, allocations: 4.383 MB / 474 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.85, allocations: 28 kB / 474 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/0.8501, allocations: 8 kB / 474 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/0.8501, allocations: 11.95 kB / 474 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/0.8693, allocations: 8.88 MB / 482.9 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.8694, allocations: 0 / 482.9 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.8706, allocations: 291.6 kB / 483.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00545/0.8761, allocations: 1.62 MB / 484.8 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002973/0.8764, allocations: 55.98 kB / 484.9 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02778/0.9042, allocations: 23.23 MB / 0.4962 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9043, allocations: 0 / 0.4962 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.9157, allocations: 6.087 MB / 0.5021 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/0.9181, allocations: 0.6771 MB / 0.5028 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005796/0.9187, allocations: 51.98 kB / 0.5028 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.9202, allocations: 123.9 kB / 0.503 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000611/0.9208, allocations: 225.5 kB / 0.5032 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.921, allocations: 63.98 kB / 0.5032 GB, free: 344 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003231/0.9242, allocations: 1.845 MB / 0.505 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9242, allocations: 0 / 0.505 GB, free: 14.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004922/0.9292, allocations: 0.9568 MB / 0.506 GB, free: 13.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000772/0.93, allocations: 248.4 kB / 0.5062 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008206/0.9382, allocations: 4.839 MB / 0.5109 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9382, allocations: 0 / 0.5109 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006055/0.9443, allocations: 3.343 MB / 0.5142 GB, free: 4.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00501/0.9493, allocations: 0.9002 MB / 0.5151 GB, free: 3.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/0.9698, allocations: 10.21 MB / 0.525 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004072/0.9739, allocations: 3.095 MB / 0.5281 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.975, allocations: 171.4 kB / 0.5282 GB, free: 6.398 MB / 430.1 MB Notification: Performance of SimCode: time 7.604e-06/0.975, allocations: 0 / 0.5282 GB, free: 6.398 MB / 430.1 MB Notification: Performance of Templates: time 0.8513/1.826, allocations: 261.2 MB / 0.7833 GB, free: 80.76 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o] Error 1