Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01006/0.01006, allocations: 175.9 kB / 15.12 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.875/1.875, allocations: 194.5 MB / 210.3 MB, free: 11.39 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00221/0.00221, allocations: 112.7 kB / 255.6 MB, free: 14.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4736/0.4736, allocations: 40 MB / 340.8 MB, free: 15.01 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006382/0.0006385, allocations: 12 kB / 406.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3459, allocations: 54.87 MB / 461.1 MB, free: 24.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2114/0.5574, allocations: 90.86 MB / 0.5391 GB, free: 204 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.5577, allocations: 83.95 kB / 0.5391 GB, free: 120 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.46/1.018, allocations: 32.63 MB / 0.571 GB, free: 85.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.018, allocations: 0 / 0.571 GB, free: 85.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.812e-05/1.018, allocations: 19.44 kB / 0.571 GB, free: 85.71 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004518/1.022, allocations: 1.282 MB / 0.5723 GB, free: 84.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.022, allocations: 7.906 kB / 0.5723 GB, free: 84.93 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004434/1.023, allocations: 193 kB / 0.5725 GB, free: 84.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/1.033, allocations: 1.021 MB / 0.5735 GB, free: 84.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/1.035, allocations: 0.5037 MB / 0.574 GB, free: 84.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/1.035, allocations: 97.64 kB / 0.5741 GB, free: 84.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/1.035, allocations: 121.8 kB / 0.5742 GB, free: 84.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003325/1.039, allocations: 1.157 MB / 0.5753 GB, free: 83.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-05/1.039, allocations: 3.906 kB / 0.5753 GB, free: 83.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/1.039, allocations: 51.81 kB / 0.5754 GB, free: 83.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/1.039, allocations: 34.17 kB / 0.5754 GB, free: 83.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003845/1.043, allocations: 1.444 MB / 0.5768 GB, free: 82.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/1.055, allocations: 4.859 MB / 0.5815 GB, free: 78.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/1.058, allocations: 1.18 MB / 0.5827 GB, free: 78.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/1.058, allocations: 101.5 kB / 0.5828 GB, free: 78.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/1.058, allocations: 47.33 kB / 0.5828 GB, free: 78.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 3.697e-06/1.058, allocations: 0 / 0.5828 GB, free: 78.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.003409/1.061, allocations: 1.202 MB / 0.584 GB, free: 77.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/1.061, allocations: 62.12 kB / 0.5841 GB, free: 77.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/1.063, allocations: 0.6878 MB / 0.5847 GB, free: 76.85 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/1.063, allocations: 41.58 kB / 0.5848 GB, free: 76.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/1.063, allocations: 469 kB / 0.5852 GB, free: 76.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/1.063, allocations: 314.4 kB / 0.5855 GB, free: 76.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.063, allocations: 23.75 kB / 0.5856 GB, free: 76.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/1.064, allocations: 399.3 kB / 0.5859 GB, free: 75.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009813/1.065, allocations: 334.2 kB / 0.5863 GB, free: 75.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.066, allocations: 0.5998 MB / 0.5868 GB, free: 74.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.067, allocations: 434.9 kB / 0.5873 GB, free: 74.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/1.067, allocations: 0 / 0.5873 GB, free: 74.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00305/1.07, allocations: 1.17 MB / 0.5884 GB, free: 73.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/1.07, allocations: 10.5 kB / 0.5884 GB, free: 73.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/1.07, allocations: 15.98 kB / 0.5884 GB, free: 73.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/1.07, allocations: 61.84 kB / 0.5885 GB, free: 73.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/1.072, allocations: 263.6 kB / 0.5887 GB, free: 72.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/1.075, allocations: 2.642 MB / 0.5913 GB, free: 70.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/1.076, allocations: 146.3 kB / 0.5914 GB, free: 69.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/1.076, allocations: 48 kB / 0.5915 GB, free: 69.87 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006061/1.077, allocations: 257.4 kB / 0.5917 GB, free: 69.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/1.077, allocations: 95 kB / 0.5918 GB, free: 69.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/1.08, allocations: 1.102 MB / 0.5929 GB, free: 68.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.08, allocations: 12 kB / 0.5929 GB, free: 68.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.08, allocations: 3.953 kB / 0.5929 GB, free: 68.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.08, allocations: 7.969 kB / 0.5929 GB, free: 68.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005345/1.086, allocations: 2.709 MB / 0.5956 GB, free: 65.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.086, allocations: 4 kB / 0.5956 GB, free: 65.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/1.087, allocations: 180.5 kB / 0.5958 GB, free: 65.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003496/1.087, allocations: 69.67 kB / 0.5958 GB, free: 65.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.364e-05/1.087, allocations: 24 kB / 0.5958 GB, free: 65.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/1.09, allocations: 2.635 MB / 0.5984 GB, free: 62.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.09, allocations: 7.938 kB / 0.5984 GB, free: 62.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/1.093, allocations: 1.76 MB / 0.6001 GB, free: 60.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/1.094, allocations: 215.7 kB / 0.6003 GB, free: 60 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/1.094, allocations: 24 kB / 0.6004 GB, free: 59.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.095, allocations: 60.03 kB / 0.6004 GB, free: 59.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/1.095, allocations: 80.41 kB / 0.6005 GB, free: 59.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/1.095, allocations: 35.98 kB / 0.6005 GB, free: 59.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009526/1.096, allocations: 0.5342 MB / 0.6011 GB, free: 59.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.096, allocations: 0 / 0.6011 GB, free: 59.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001438/1.098, allocations: 307.5 kB / 0.6014 GB, free: 58.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.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 (94): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004164/1.102, allocations: 4.109 MB / 0.6054 GB, free: 54.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002754/1.105, allocations: 1.08 MB / 0.6064 GB, free: 53.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.105, allocations: 0.5625 kB / 0.6064 GB, free: 53.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001437/1.106, allocations: 0.6272 MB / 0.607 GB, free: 52.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000986/1.107, allocations: 109.4 kB / 0.6071 GB, free: 52.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/1.123, allocations: 11.23 MB / 0.6181 GB, free: 41.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/1.123, allocations: 1.004 MB / 0.6191 GB, free: 40.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00113/1.124, allocations: 151.5 kB / 0.6192 GB, free: 40.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007359/1.125, allocations: 355.3 kB / 0.6196 GB, free: 39.68 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/1.125, allocations: 0 / 0.6196 GB, free: 39.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05537/1.18, allocations: 17.21 MB / 0.6364 GB, free: 22.54 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/1.181, allocations: 225.2 kB / 0.6366 GB, free: 22.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/4.361, allocations: 0 / 0.6366 GB, free: 22.3 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat