Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01149/0.01149, allocations: 109.9 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001288/0.001288, allocations: 178.3 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.94/1.94, allocations: 194.5 MB / 211.3 MB, free: 10.95 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2599/0.2599, allocations: 40.05 MB / 296.5 MB, free: 6.234 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004731, allocations: 8 kB / 361.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 54.88 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.03241/0.1473, allocations: 19.23 MB / 435.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.1634, allocations: 5.158 MB / 440.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00487/0.1684, allocations: 151.5 kB / 440.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006488/0.1749, allocations: 1.115 MB / 441.7 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02482/0.1998, allocations: 1.94 MB / 443.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01541/0.2152, allocations: 1.203 MB / 444.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.4707/0.686, allocations: 9.255 MB / 454.1 MB, free: 30.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06385/0.7499, allocations: 26.27 MB / 480.3 MB, free: 27.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01084/0.7608, allocations: 5.046 MB / 485.4 MB, free: 27.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01579/0.7766, allocations: 5.703 MB / 491.1 MB, free: 27.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005815/0.7825, allocations: 0.8383 MB / 491.9 MB, free: 27.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008907/0.7915, allocations: 0.9953 MB / 492.9 MB, free: 27.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005805/0.7973, allocations: 2.626 MB / 495.5 MB, free: 26.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006571/0.804, allocations: 2.801 MB / 498.4 MB, free: 24.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03145/0.8354, allocations: 23.91 MB / 0.51 GB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.8355, allocations: 4 kB / 0.51 GB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.8355, allocations: 0 / 0.51 GB, free: 12.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008711/0.8364, allocations: 0 / 0.51 GB, free: 12.43 MB / 378.7 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.06916/0.9056, allocations: 15.74 MB / 0.5254 GB, free: 12.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.9056, allocations: 8.031 kB / 0.5254 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00952/0.9152, allocations: 2.043 MB / 0.5274 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1046/1.02, allocations: 12.74 MB / 0.5398 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02566/1.046, allocations: 7.78 MB / 0.5474 GB, free: 6.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001709/1.047, allocations: 1.077 MB / 0.5485 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007155/1.054, allocations: 1.383 MB / 0.5498 GB, free: 3.969 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0853/1.14, allocations: 23.81 MB / 0.5731 GB, free: 12.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008037/1.141, allocations: 23.84 kB / 0.5731 GB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005963/1.147, allocations: 0.5761 MB / 0.5737 GB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001289/1.148, allocations: 0.7334 MB / 0.5744 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07606/1.224, allocations: 22.29 MB / 0.5962 GB, free: 4.465 MB / 458.7 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.8235/2.048, allocations: 72.07 MB / 0.6665 GB, free: 80.95 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03836/2.086, allocations: 31.58 MB / 0.6974 GB, free: 53.17 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0447/2.131, allocations: 15.48 MB / 0.7125 GB, free: 43.56 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.665e-05/2.131, allocations: 85.62 kB / 0.7126 GB, free: 43.49 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 8.967e-06/2.131, allocations: 0 / 0.7126 GB, free: 43.49 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.06223/2.193, allocations: 15.36 MB / 0.7276 GB, free: 35.25 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/2.193, allocations: 129.6 kB / 0.7277 GB, free: 35.14 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/2.204, allocations: 4.998 MB / 0.7326 GB, free: 32.5 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001049/2.205, allocations: 97.42 kB / 0.7327 GB, free: 32.41 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004254/2.209, allocations: 5.985 MB / 0.7385 GB, free: 27.21 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002388/2.212, allocations: 1.599 MB / 0.7401 GB, free: 25.84 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/2.213, allocations: 153.2 kB / 0.7402 GB, free: 25.72 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006885/2.214, allocations: 0.6339 MB / 0.7408 GB, free: 25.19 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01138/2.225, allocations: 4.168 MB / 0.7449 GB, free: 21.63 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0139/2.239, allocations: 7.491 MB / 0.7522 GB, free: 12.56 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/2.253, allocations: 5.7 MB / 0.7578 GB, free: 6.855 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/2.253, allocations: 32 kB / 0.7578 GB, free: 6.824 MB / 474.8 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.0375/2.291, allocations: 13.31 MB / 0.7708 GB, free: 9.492 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/2.291, allocations: 58.81 kB / 0.7709 GB, free: 9.438 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/2.291, allocations: 112 kB / 0.771 GB, free: 9.328 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01245/2.304, allocations: 3.068 MB / 0.774 GB, free: 6.25 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01199/2.316, allocations: 1.677 MB / 0.7756 GB, free: 4.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02701/2.343, allocations: 11.13 MB / 0.7865 GB, free: 9.254 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/2.353, allocations: 1.107 MB / 0.7876 GB, free: 8.137 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/2.355, allocations: 404 kB / 0.788 GB, free: 7.742 MB / 0.4949 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.01901/2.374, allocations: 5.425 MB / 0.7933 GB, free: 2.301 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/2.376, allocations: 0.4938 MB / 0.7937 GB, free: 1.801 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04279/2.419, allocations: 9.613 MB / 0.8031 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.041e-05/2.419, allocations: 48 kB / 0.8032 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/2.419, allocations: 0 / 0.8032 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001365/2.419, allocations: 27.91 kB / 0.8032 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4529/2.872, allocations: 20.62 MB / 0.8233 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/2.872, allocations: 0 / 0.8233 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006424/2.879, allocations: 0.7338 MB / 0.8241 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01079/2.89, allocations: 2.915 MB / 0.8269 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00104/2.891, allocations: 99.06 kB / 0.827 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02296/2.914, allocations: 10.93 MB / 0.8377 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/2.914, allocations: 0 / 0.8377 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0378/2.952, allocations: 14.06 MB / 0.8514 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004656/2.956, allocations: 1.316 MB / 0.8527 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001964/2.958, allocations: 76.19 kB / 0.8528 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006336/2.965, allocations: 393.7 kB / 0.8531 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001968/2.967, allocations: 340.3 kB / 0.8535 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000718/2.968, allocations: 129.6 kB / 0.8536 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00906/2.977, allocations: 3.323 MB / 0.8568 GB, free: 140 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.51e-07/2.977, allocations: 1.75 kB / 0.8568 GB, free: 140 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0138/2.99, allocations: 3.291 MB / 0.86 GB, free: 139 MB / 0.5105 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.03869/3.029, allocations: 14.84 MB / 0.8745 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02915/3.058, allocations: 10.55 MB / 0.8848 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/3.059, allocations: 3.938 kB / 0.8848 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01533/3.074, allocations: 5.015 MB / 0.8897 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009298/3.083, allocations: 1.139 MB / 0.8909 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5867/3.67, allocations: 144.7 MB / 1.032 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02206/3.692, allocations: 9.296 MB / 1.041 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01402/3.706, allocations: 2.932 MB / 1.044 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.011/3.717, allocations: 4.705 MB / 1.049 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/3.717, allocations: 0 / 1.049 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7265/4.444, allocations: 171.4 MB / 1.216 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/4.444, allocations: 216.7 kB / 1.216 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/11.42, allocations: 3.938 kB / 1.216 GB, free: 110.1 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat does not exist to compare? outputFormat=mat