Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.214/2.214, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.000427, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3129, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.474, allocations: 85.04 MB / 393.6 MB, free: 7.598 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/0.4745, allocations: 87.95 kB / 393.7 MB, free: 7.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7457/1.22, allocations: 142.2 MB / 0.5233 GB, free: 3.398 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.623e-06/1.22, allocations: 4 kB / 0.5233 GB, free: 3.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002702/1.221, allocations: 87.88 kB / 0.5234 GB, free: 3.309 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.02047/1.241, allocations: 3.999 MB / 0.5273 GB, free: 15.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/1.241, allocations: 8.031 kB / 0.5273 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003253/1.244, allocations: 0.6337 MB / 0.5279 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01643/1.261, allocations: 1.825 MB / 0.5297 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007959/1.269, allocations: 2.423 MB / 0.5321 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006261/1.27, allocations: 328.5 kB / 0.5324 GB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/1.272, allocations: 415.9 kB / 0.5328 GB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02545/1.297, allocations: 6.888 MB / 0.5395 GB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002023/1.297, allocations: 4 kB / 0.5395 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/1.299, allocations: 187.9 kB / 0.5397 GB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005445/1.299, allocations: 272.7 kB / 0.5399 GB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02549/1.325, allocations: 5.837 MB / 0.5456 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3701/1.695, allocations: 21.33 MB / 0.5665 GB, free: 66.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/1.707, allocations: 7.593 MB / 0.5739 GB, free: 62.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02596/1.733, allocations: 9.456 MB / 0.5831 GB, free: 61.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/1.733, allocations: 51.34 kB / 0.5832 GB, free: 61.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=265): time 7.545e-06/1.733, allocations: 2.5 kB / 0.5832 GB, free: 61.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=265): time 0.02051/1.754, allocations: 10.74 MB / 0.5937 GB, free: 55.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/1.754, allocations: 72.53 kB / 0.5937 GB, free: 55.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/1.756, allocations: 1.111 MB / 0.5948 GB, free: 55.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005832/1.757, allocations: 52.83 kB / 0.5949 GB, free: 55.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/1.758, allocations: 1.647 MB / 0.5965 GB, free: 54.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001502/1.759, allocations: 0.8851 MB / 0.5973 GB, free: 54.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004122/1.76, allocations: 54.34 kB / 0.5974 GB, free: 54.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004397/1.76, allocations: 492.4 kB / 0.5979 GB, free: 54.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00481/1.765, allocations: 1.927 MB / 0.5997 GB, free: 54.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005706/1.771, allocations: 2.703 MB / 0.6024 GB, free: 53.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005873/1.777, allocations: 2.391 MB / 0.6047 GB, free: 53.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.952e-05/1.777, allocations: 3.969 kB / 0.6047 GB, free: 53.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.0143/1.791, allocations: 5.536 MB / 0.6101 GB, free: 52.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/1.791, allocations: 12.91 kB / 0.6101 GB, free: 52.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.758e-05/1.791, allocations: 24.94 kB / 0.6102 GB, free: 52.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002851/1.794, allocations: 1.072 MB / 0.6112 GB, free: 51.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004057/1.798, allocations: 0.5282 MB / 0.6117 GB, free: 51.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005843/1.804, allocations: 3.885 MB / 0.6155 GB, free: 49.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/1.808, allocations: 366.3 kB / 0.6159 GB, free: 49.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009546/1.809, allocations: 141.1 kB / 0.616 GB, free: 49.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (305): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * 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 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.004256/1.813, allocations: 1.534 MB / 0.6175 GB, free: 48.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006048/1.814, allocations: 156.5 kB / 0.6177 GB, free: 48.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.825, allocations: 4.649 MB / 0.6222 GB, free: 46.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009968/1.835, allocations: 4.239 MB / 0.6263 GB, free: 44.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/1.835, allocations: 3.625 kB / 0.6263 GB, free: 44.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-05/1.835, allocations: 9.703 kB / 0.6263 GB, free: 44.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/1.858, allocations: 9.537 MB / 0.6357 GB, free: 40.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-05/1.858, allocations: 0 / 0.6357 GB, free: 40.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/1.86, allocations: 245.6 kB / 0.6359 GB, free: 40.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002697/1.863, allocations: 1.045 MB / 0.6369 GB, free: 40.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005917/1.864, allocations: 58.11 kB / 0.637 GB, free: 40.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005608/1.869, allocations: 3.842 MB / 0.6407 GB, free: 37.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.869, allocations: 0 / 0.6407 GB, free: 37.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01967/1.889, allocations: 7.108 MB / 0.6477 GB, free: 32.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007233/1.89, allocations: 296.9 kB / 0.6479 GB, free: 32.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006645/1.891, allocations: 32 kB / 0.648 GB, free: 32.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/1.892, allocations: 83.11 kB / 0.6481 GB, free: 32.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005709/1.893, allocations: 205.4 kB / 0.6483 GB, free: 32.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/1.893, allocations: 70.36 kB / 0.6483 GB, free: 32.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001494/1.895, allocations: 0.7982 MB / 0.6491 GB, free: 31.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.895, allocations: 0 / 0.6491 GB, free: 31.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003713/1.898, allocations: 0.9947 MB / 0.6501 GB, free: 30.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * 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 (152): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * 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 {6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0162/1.915, allocations: 7.756 MB / 0.6576 GB, free: 23.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01129/1.926, allocations: 4.473 MB / 0.662 GB, free: 19.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.926, allocations: 0 / 0.662 GB, free: 19.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005382/1.931, allocations: 2.056 MB / 0.664 GB, free: 17.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/1.934, allocations: 269.1 kB / 0.6643 GB, free: 17.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05959/1.994, allocations: 37 MB / 0.7004 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006206/2, allocations: 3.056 MB / 0.7034 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003202/2.003, allocations: 0.5743 MB / 0.704 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003498/2.007, allocations: 1.214 MB / 0.7051 GB, free: 10.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.372e-06/2.007, allocations: 0 / 0.7051 GB, free: 10.76 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6012/2.608, allocations: 65.52 MB / 0.7691 GB, free: 99.53 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/2.608, allocations: 228.8 kB / 0.7694 GB, free: 99.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.191/6.799, allocations: 0 / 0.7694 GB, free: 99.29 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat