Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.175/2.175, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005007, allocations: 12 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3167, allocations: 54.87 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02846/0.3452, allocations: 19.24 MB / 388.4 MB, free: 7.387 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02489/0.3702, allocations: 5.162 MB / 393.6 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007114/0.3774, allocations: 155.4 kB / 393.7 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007415/0.3848, allocations: 1.111 MB / 394.9 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0159/0.4008, allocations: 1.94 MB / 396.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009548/0.4104, allocations: 1.21 MB / 398 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.04516/0.4556, allocations: 9.287 MB / 407.3 MB, free: 4.484 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08935/0.545, allocations: 26.26 MB / 433.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009309/0.5543, allocations: 5.054 MB / 438.6 MB, free: 5.035 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.5654, allocations: 5.918 MB / 444.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002951/0.5684, allocations: 0.8398 MB / 445.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004677/0.5731, allocations: 0.9997 MB / 446.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004082/0.5772, allocations: 2.632 MB / 449 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004646/0.5819, allocations: 2.8 MB / 451.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.6277/1.21, allocations: 23.91 MB / 475.7 MB, free: 31.3 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.4e-06/1.21, allocations: 3.594 kB / 475.7 MB, free: 31.3 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.142e-06/1.21, allocations: 1 kB / 475.7 MB, free: 31.3 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0005648/1.21, allocations: 3 kB / 475.7 MB, free: 31.3 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3915 * Number of variables: 3915 Notification: Performance of Generate backend data structure: time 0.05619/1.267, allocations: 15.74 MB / 491.4 MB, free: 27.02 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.267, allocations: 8.906 kB / 491.5 MB, free: 27.02 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08454/1.351, allocations: 12.74 MB / 0.4924 GB, free: 23.05 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/1.369, allocations: 7.661 MB / 0.4999 GB, free: 19.97 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001289/1.37, allocations: 1.066 MB / 0.5009 GB, free: 19.36 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00473/1.375, allocations: 1.393 MB / 0.5023 GB, free: 18.43 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06595/1.441, allocations: 23.96 MB / 0.5257 GB, free: 2.34 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006599/1.442, allocations: 11.91 kB / 0.5257 GB, free: 2.328 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004176/1.446, allocations: 0.5759 MB / 0.5262 GB, free: 1.766 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000754/1.447, allocations: 0.7373 MB / 0.527 GB, free: 1.027 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06233/1.509, allocations: 22.35 MB / 0.5488 GB, free: 10.67 MB / 426.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.166/1.675, allocations: 72.22 MB / 0.6193 GB, free: 2.027 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03914/1.714, allocations: 31.61 MB / 0.6502 GB, free: 15.45 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3227/2.037, allocations: 15.61 MB / 0.6654 GB, free: 192.9 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.046e-05/2.037, allocations: 84.16 kB / 0.6655 GB, free: 192.9 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=465): time 1.15e-05/2.037, allocations: 0 / 0.6655 GB, free: 192.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=465): time 0.09078/2.128, allocations: 15.6 MB / 0.6807 GB, free: 191.2 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/2.128, allocations: 123.7 kB / 0.6809 GB, free: 191.1 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009887/2.138, allocations: 5.046 MB / 0.6858 GB, free: 189.5 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007835/2.139, allocations: 102.4 kB / 0.6859 GB, free: 189.4 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003548/2.143, allocations: 5.84 MB / 0.6916 GB, free: 185.2 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00191/2.145, allocations: 1.592 MB / 0.6931 GB, free: 184 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008063/2.145, allocations: 153.9 kB / 0.6933 GB, free: 183.8 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0005143/2.146, allocations: 0.6322 MB / 0.6939 GB, free: 183.4 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008605/2.155, allocations: 4.2 MB / 0.698 GB, free: 182 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/2.165, allocations: 7.549 MB / 0.7054 GB, free: 176.1 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/2.176, allocations: 5.732 MB / 0.711 GB, free: 173.5 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.542e-05/2.177, allocations: 32 kB / 0.711 GB, free: 173.4 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02763/2.204, allocations: 13.19 MB / 0.7239 GB, free: 162.1 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/2.204, allocations: 54.62 kB / 0.7239 GB, free: 162.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/2.205, allocations: 112 kB / 0.724 GB, free: 162 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008583/2.213, allocations: 3.117 MB / 0.7271 GB, free: 159.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007467/2.221, allocations: 1.673 MB / 0.7287 GB, free: 158.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/2.239, allocations: 11.31 MB / 0.7398 GB, free: 146.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007737/2.247, allocations: 1.123 MB / 0.7409 GB, free: 145.4 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001522/2.249, allocations: 403.9 kB / 0.7412 GB, free: 145.1 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 850 * 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: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.009996/2.259, allocations: 5.432 MB / 0.7465 GB, free: 139.6 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/2.26, allocations: 0.4899 MB / 0.747 GB, free: 139.1 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02081/2.281, allocations: 9.685 MB / 0.7565 GB, free: 129.4 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.201e-05/2.281, allocations: 55.97 kB / 0.7565 GB, free: 129.3 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/2.281, allocations: 0 / 0.7565 GB, free: 129.3 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.752e-05/2.281, allocations: 19.92 kB / 0.7566 GB, free: 129.3 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0448/2.326, allocations: 20.75 MB / 0.7768 GB, free: 108.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.449e-05/2.326, allocations: 4 kB / 0.7768 GB, free: 108.6 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004165/2.33, allocations: 0.7464 MB / 0.7776 GB, free: 107.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008324/2.338, allocations: 2.95 MB / 0.7804 GB, free: 104.9 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008883/2.339, allocations: 95.98 kB / 0.7805 GB, free: 104.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01756/2.357, allocations: 11.1 MB / 0.7914 GB, free: 93.52 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.137e-06/2.357, allocations: 0 / 0.7914 GB, free: 93.52 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02657/2.384, allocations: 14.17 MB / 0.8052 GB, free: 79.32 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0037/2.387, allocations: 1.321 MB / 0.8065 GB, free: 77.97 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/2.389, allocations: 84.06 kB / 0.8066 GB, free: 77.89 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00427/2.393, allocations: 395.5 kB / 0.8069 GB, free: 77.5 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001423/2.395, allocations: 343.3 kB / 0.8073 GB, free: 77.16 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005633/2.395, allocations: 128 kB / 0.8074 GB, free: 77.04 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006386/2.402, allocations: 3.348 MB / 0.8107 GB, free: 73.7 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.374e-06/2.402, allocations: 0 / 0.8107 GB, free: 73.7 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01121/2.413, allocations: 3.3 MB / 0.8139 GB, free: 70.38 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * 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: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/2.414, allocations: 264.5 kB / 0.8141 GB, free: 70.12 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02164/2.436, allocations: 10.62 MB / 0.8245 GB, free: 59.49 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.184e-06/2.436, allocations: 0 / 0.8245 GB, free: 59.49 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01135/2.447, allocations: 5.062 MB / 0.8295 GB, free: 54.4 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006397/2.454, allocations: 1.141 MB / 0.8306 GB, free: 53.27 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3266/2.78, allocations: 28.31 MB / 0.8582 GB, free: 200.4 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0178/2.798, allocations: 8.995 MB / 0.867 GB, free: 199.4 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002459/2.801, allocations: 440.6 kB / 0.8674 GB, free: 199.4 MB / 0.5262 GB Notification: Performance of SimCode: time 3.301e-06/2.801, allocations: 0 / 0.8674 GB, free: 199.4 MB / 0.5262 GB Notification: Performance of Templates: time 0.6843/3.485, allocations: 364.9 MB / 1.224 GB, free: 39.6 MB / 0.5262 GB