Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.748/1.748, allocations: 171.1 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 8 kB / 233.4 MB, free: 168 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1269, allocations: 38.78 MB / 272.1 MB, free: 9.309 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3921/0.5191, allocations: 72.62 MB / 344.8 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.5194, allocations: 71.97 kB / 344.8 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09036/0.6098, allocations: 21.45 MB / 366.3 MB, free: 4.168 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6099, allocations: 0 / 366.3 MB, free: 4.168 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001212/0.61, allocations: 47.92 kB / 366.3 MB, free: 4.121 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.005239/0.6153, allocations: 1.525 MB / 367.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.6153, allocations: 12.03 kB / 367.9 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007692/0.6161, allocations: 214.9 kB / 368.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007871/0.6169, allocations: 178.1 kB / 368.2 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.6199, allocations: 0.935 MB / 369.2 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.6201, allocations: 106.7 kB / 369.3 MB, free: 1.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004173/0.6205, allocations: 132 kB / 369.4 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.6257, allocations: 1.836 MB / 371.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/0.6258, allocations: 0 / 371.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.6261, allocations: 60 kB / 371.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.6261, allocations: 35.95 kB / 371.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/0.6305, allocations: 1.377 MB / 372.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.6446, allocations: 5.006 MB / 377.7 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.6463, allocations: 0.9788 MB / 378.7 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.245e-05/0.6464, allocations: 4 kB / 378.7 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.6465, allocations: 46.5 kB / 378.7 MB, free: 7.211 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.266e-06/0.6465, allocations: 0 / 378.7 MB, free: 7.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.00534/0.6518, allocations: 1.838 MB / 380.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.6519, allocations: 59.34 kB / 380.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.6533, allocations: 0.6115 MB / 381.3 MB, free: 4.617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.6535, allocations: 33.7 kB / 381.3 MB, free: 4.578 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006902/0.6542, allocations: 0.6109 MB / 381.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.6545, allocations: 157.7 kB / 382 MB, free: 3.801 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.6545, allocations: 12 kB / 382.1 MB, free: 3.789 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000241/0.6548, allocations: 366.8 kB / 382.4 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008536/0.6557, allocations: 284.9 kB / 382.7 MB, free: 3.141 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008851/0.6566, allocations: 417.3 kB / 383.1 MB, free: 2.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009151/0.6575, allocations: 352.6 kB / 383.4 MB, free: 2.332 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.6575, allocations: 3.953 kB / 383.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00244/0.66, allocations: 0.8511 MB / 384.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.6601, allocations: 10.03 kB / 384.3 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.6601, allocations: 4.438 kB / 384.3 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.6605, allocations: 88.69 kB / 384.4 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/0.6615, allocations: 123.7 kB / 384.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.6645, allocations: 1.94 MB / 386.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.6653, allocations: 27.98 kB / 386.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.6653, allocations: 20 kB / 386.5 MB, free: 15.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001206/0.6666, allocations: 0.5092 MB / 387 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.6668, allocations: 63.25 kB / 387.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.667, allocations: 78.03 kB / 387.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.667, allocations: 8 kB / 387.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.6671, allocations: 0 / 387.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.6671, allocations: 7.969 kB / 387.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005258/0.6724, allocations: 1.968 MB / 389.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6724, allocations: 0 / 389.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.6731, allocations: 83.95 kB / 389.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003366/0.6734, allocations: 76.78 kB / 389.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.6735, allocations: 11.98 kB / 389.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/0.6762, allocations: 1.912 MB / 391.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.6763, allocations: 4.031 kB / 391.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.6791, allocations: 1.111 MB / 392.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/0.6797, allocations: 196.3 kB / 392.5 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.6798, allocations: 12 kB / 392.5 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006225/0.6805, allocations: 44.02 kB / 392.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.6806, allocations: 39.84 kB / 392.6 MB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.6807, allocations: 15.98 kB / 392.6 MB, free: 8.719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.6818, allocations: 490.7 kB / 393.1 MB, free: 8.242 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6818, allocations: 0 / 393.1 MB, free: 8.242 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001184/0.683, allocations: 208 kB / 393.3 MB, free: 8.039 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003318/0.6863, allocations: 1.804 MB / 395.1 MB, free: 6.191 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.6885, allocations: 0.7675 MB / 395.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.6885, allocations: 4.312 kB / 395.9 MB, free: 5.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.6898, allocations: 446.1 kB / 396.3 MB, free: 4.957 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.6912, allocations: 158.2 kB / 396.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/0.7079, allocations: 8.535 MB / 405 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.7096, allocations: 1.455 MB / 406.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009215/0.7106, allocations: 173.2 kB / 406.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000894/0.7115, allocations: 403.3 kB / 407 MB, free: 10.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7115, allocations: 0 / 407 MB, free: 10.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3047/1.016, allocations: 16.57 MB / 423.6 MB, free: 100.1 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/1.017, allocations: 203.4 kB / 423.8 MB, free: 99.83 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.814/3.83, allocations: 0 / 423.8 MB, free: 99.83 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat