Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.22/2.22, allocations: 234.9 MB / 250.5 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004266, allocations: 19.92 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3599, allocations: 54.85 MB / 369.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.03284/0.3928, allocations: 19.24 MB / 388.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.408, allocations: 5.166 MB / 393.7 MB, free: 2.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004515/0.4126, allocations: 151.5 kB / 393.8 MB, free: 2.102 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005273/0.4179, allocations: 1.123 MB / 394.9 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009716/0.4276, allocations: 1.948 MB / 396.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006454/0.4341, allocations: 1.195 MB / 398.1 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02004/0.4542, allocations: 9.284 MB / 407.4 MB, free: 4.531 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08993/0.5442, allocations: 26.26 MB / 433.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01085/0.5551, allocations: 5.058 MB / 438.7 MB, free: 5.074 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01396/0.5691, allocations: 5.914 MB / 444.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004021/0.5732, allocations: 0.8359 MB / 445.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006591/0.5798, allocations: 0.9997 MB / 446.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005642/0.5855, allocations: 2.624 MB / 449.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006161/0.5917, allocations: 2.804 MB / 451.9 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.6694/1.261, allocations: 23.92 MB / 475.8 MB, free: 31.28 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.261, allocations: 0 / 475.8 MB, free: 31.28 MB / 394.8 MB Notification: Performance of FrontEnd: time 3.557e-06/1.261, allocations: 0.8125 kB / 475.8 MB, free: 31.28 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0007687/1.262, allocations: 0 / 475.8 MB, free: 31.28 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.06934/1.331, allocations: 15.74 MB / 491.5 MB, free: 27 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.331, allocations: 9.406 kB / 491.5 MB, free: 27 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0082/1.34, allocations: 2.04 MB / 493.6 MB, free: 26.86 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09565/1.435, allocations: 12.74 MB / 0.4945 GB, free: 22.58 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02237/1.458, allocations: 7.667 MB / 0.5019 GB, free: 18.82 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001357/1.459, allocations: 1.065 MB / 0.503 GB, free: 18.21 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006716/1.466, allocations: 1.386 MB / 0.5043 GB, free: 17.29 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07526/1.541, allocations: 23.96 MB / 0.5277 GB, free: 256 kB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007631/1.542, allocations: 15.81 kB / 0.5278 GB, free: 240 kB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005925/1.548, allocations: 0.5868 MB / 0.5283 GB, free: 15.67 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001218/1.549, allocations: 0.7373 MB / 0.529 GB, free: 14.93 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07298/1.622, allocations: 22.34 MB / 0.5509 GB, free: 8.578 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.1953/1.818, allocations: 72.23 MB / 0.6214 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04616/1.864, allocations: 31.59 MB / 0.6523 GB, free: 13.36 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4066/2.27, allocations: 15.61 MB / 0.6675 GB, free: 190 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.951e-05/2.271, allocations: 86.69 kB / 0.6676 GB, free: 190 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=465): time 9.628e-06/2.271, allocations: 0 / 0.6676 GB, free: 190 MB / 0.5262 GB Notification: Performance of matching and sorting (n=465): time 0.06592/2.337, allocations: 15.59 MB / 0.6828 GB, free: 187.9 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/2.337, allocations: 123.8 kB / 0.6829 GB, free: 187.8 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01189/2.349, allocations: 5.054 MB / 0.6879 GB, free: 186.1 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001058/2.35, allocations: 97.02 kB / 0.688 GB, free: 186 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003853/2.354, allocations: 5.831 MB / 0.6937 GB, free: 181.8 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002372/2.356, allocations: 1.597 MB / 0.6952 GB, free: 180.6 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008701/2.357, allocations: 154.2 kB / 0.6954 GB, free: 180.5 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.00055/2.357, allocations: 0.6357 MB / 0.696 GB, free: 180 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0105/2.368, allocations: 4.2 MB / 0.7001 GB, free: 178.6 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.013/2.381, allocations: 7.554 MB / 0.7075 GB, free: 172.7 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/2.394, allocations: 5.723 MB / 0.713 GB, free: 170.4 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001304/2.395, allocations: 39.53 kB / 0.7131 GB, free: 170.4 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.03377/2.428, allocations: 13.19 MB / 0.726 GB, free: 160.5 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 9.253e-05/2.429, allocations: 55.8 kB / 0.726 GB, free: 160.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001757/2.429, allocations: 112 kB / 0.7261 GB, free: 160.4 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/2.44, allocations: 3.118 MB / 0.7292 GB, free: 157.6 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01102/2.451, allocations: 1.673 MB / 0.7308 GB, free: 156 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02317/2.474, allocations: 11.31 MB / 0.7418 GB, free: 144.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009768/2.484, allocations: 1.115 MB / 0.7429 GB, free: 143.3 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/2.486, allocations: 400 kB / 0.7433 GB, free: 143 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.01297/2.499, allocations: 5.444 MB / 0.7486 GB, free: 137.5 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/2.5, allocations: 0.4938 MB / 0.7491 GB, free: 137 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02746/2.528, allocations: 9.681 MB / 0.7586 GB, free: 127.3 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.743e-05/2.528, allocations: 48 kB / 0.7586 GB, free: 127.2 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/2.528, allocations: 3.984 kB / 0.7586 GB, free: 127.2 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/2.528, allocations: 22.22 kB / 0.7586 GB, free: 127.2 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05683/2.585, allocations: 20.76 MB / 0.7789 GB, free: 106.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.505e-05/2.585, allocations: 0 / 0.7789 GB, free: 106.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006478/2.592, allocations: 0.7372 MB / 0.7796 GB, free: 105.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01093/2.603, allocations: 2.961 MB / 0.7825 GB, free: 102.8 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001102/2.604, allocations: 95.98 kB / 0.7826 GB, free: 102.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02311/2.627, allocations: 11.1 MB / 0.7934 GB, free: 91.41 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/2.627, allocations: 0 / 0.7934 GB, free: 91.41 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03466/2.662, allocations: 14.16 MB / 0.8073 GB, free: 77.21 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004493/2.666, allocations: 1.333 MB / 0.8086 GB, free: 75.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002128/2.668, allocations: 76 kB / 0.8087 GB, free: 75.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006401/2.675, allocations: 399.6 kB / 0.809 GB, free: 75.39 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001674/2.676, allocations: 347.2 kB / 0.8094 GB, free: 75.05 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007052/2.677, allocations: 128 kB / 0.8095 GB, free: 74.93 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.007832/2.685, allocations: 3.348 MB / 0.8128 GB, free: 71.58 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.122e-06/2.685, allocations: 0 / 0.8128 GB, free: 71.58 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01266/2.698, allocations: 3.3 MB / 0.816 GB, free: 68.27 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.03684/2.735, allocations: 14.9 MB / 0.8305 GB, free: 53.34 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02861/2.763, allocations: 10.61 MB / 0.8409 GB, free: 42.72 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/2.763, allocations: 0 / 0.8409 GB, free: 42.72 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01519/2.779, allocations: 5.06 MB / 0.8458 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009697/2.788, allocations: 1.147 MB / 0.847 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4939/3.282, allocations: 67.86 MB / 0.9132 GB, free: 169.9 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01743/3.3, allocations: 8.999 MB / 0.922 GB, free: 161.4 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01059/3.31, allocations: 4.768 MB / 0.9267 GB, free: 156.6 MB / 0.5262 GB Notification: Performance of SimCode: time 2.424e-06/3.31, allocations: 4 kB / 0.9267 GB, free: 156.6 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.76/9.071, allocations: 434.3 MB / 1.351 GB, free: 106 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat does not exist to compare? outputFormat=mat