Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_MultiPhase_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.0103/0.0103, allocations: 177.9 kB / 15.12 MB, free: 5.93 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.893/1.893, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.002009/0.002009, allocations: 116.7 kB / 255.6 MB, free: 10.23 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.2413/0.2413, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.000503, allocations: 9.656 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 54.88 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5392/0.6435, allocations: 100.6 MB / 0.5485 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.6438, allocations: 85.97 kB / 0.5486 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.952/2.596, allocations: 388.7 MB / 0.9282 GB, free: 59.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.567e-06/2.596, allocations: 0 / 0.9282 GB, free: 59.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001099/2.598, allocations: 259.3 kB / 0.9285 GB, free: 59.45 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3353 * Number of variables: 3353 Notification: Performance of Generate backend data structure: time 0.05474/2.652, allocations: 10.89 MB / 0.9391 GB, free: 56.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/2.652, allocations: 7.625 kB / 0.9391 GB, free: 56.14 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007887/2.66, allocations: 1.735 MB / 0.9408 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06912/2.729, allocations: 8.423 MB / 0.949 GB, free: 55.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02241/2.752, allocations: 7.252 MB / 0.9561 GB, free: 54.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001528/2.753, allocations: 0.8661 MB / 0.9569 GB, free: 54.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006188/2.76, allocations: 1.112 MB / 0.958 GB, free: 54.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06859/2.828, allocations: 21.12 MB / 0.9787 GB, free: 53.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007139/2.829, allocations: 10.66 kB / 0.9787 GB, free: 53.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005278/2.834, allocations: 494.2 kB / 0.9791 GB, free: 53.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001319/2.836, allocations: 0.8452 MB / 0.98 GB, free: 53.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06983/2.906, allocations: 19.85 MB / 0.9993 GB, free: 53.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.187/3.093, allocations: 59.82 MB / 1.058 GB, free: 22.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0469/3.14, allocations: 24.02 MB / 1.081 GB, free: 232 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002118/3.142, allocations: 367.7 kB / 1.082 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/3.142, allocations: 138.5 kB / 1.082 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1196): time 1.858e-05/3.142, allocations: 0 / 1.082 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1196): time 0.5146/3.657, allocations: 37.49 MB / 1.118 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001781/3.657, allocations: 156.5 kB / 1.118 GB, free: 59.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006945/3.664, allocations: 2.661 MB / 1.121 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002859/3.667, allocations: 188.4 kB / 1.121 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002777/3.67, allocations: 3.414 MB / 1.125 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.006929/3.677, allocations: 3.901 MB / 1.128 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002119/3.679, allocations: 168.1 kB / 1.129 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001129/3.68, allocations: 0.7152 MB / 1.129 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01848/3.698, allocations: 7.096 MB / 1.136 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02072/3.719, allocations: 8.018 MB / 1.144 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02195/3.741, allocations: 8.361 MB / 1.152 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.372e-05/3.741, allocations: 0 / 1.152 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.05483/3.796, allocations: 18.88 MB / 1.171 GB, free: 54.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/3.796, allocations: 10.47 kB / 1.171 GB, free: 54.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.212e-05/3.796, allocations: 10.91 kB / 1.171 GB, free: 54.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/3.807, allocations: 3.779 MB / 1.174 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01591/3.823, allocations: 1.912 MB / 1.176 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02673/3.85, allocations: 21.64 MB / 1.197 GB, free: 39.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/3.86, allocations: 1.122 MB / 1.198 GB, free: 38.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003094/3.863, allocations: 334.7 kB / 1.199 GB, free: 38.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (933): * Single equations (assignments): 818 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.01475/3.878, allocations: 4.513 MB / 1.203 GB, free: 36.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003832/3.882, allocations: 0.5559 MB / 1.204 GB, free: 36.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06337/3.945, allocations: 20.43 MB / 1.224 GB, free: 27.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004517/3.946, allocations: 295.1 kB / 1.224 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.732e-05/3.946, allocations: 0 / 1.224 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002275/3.946, allocations: 48.52 kB / 1.224 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1108/4.057, allocations: 38.7 MB / 1.262 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001436/4.057, allocations: 6.953 kB / 1.262 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01509/4.072, allocations: 1.768 MB / 1.263 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0104/4.083, allocations: 3.75 MB / 1.267 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003116/4.086, allocations: 249.9 kB / 1.267 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03335/4.119, allocations: 21.55 MB / 1.288 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/4.119, allocations: 4 kB / 1.288 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5203/4.64, allocations: 30.49 MB / 1.318 GB, free: 94.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/4.642, allocations: 0.845 MB / 1.319 GB, free: 94.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003863/4.646, allocations: 168.5 kB / 1.319 GB, free: 94.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01022/4.656, allocations: 0.5949 MB / 1.32 GB, free: 94.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004456/4.661, allocations: 0.8434 MB / 1.321 GB, free: 94.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003057/4.664, allocations: 318.9 kB / 1.321 GB, free: 94.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005538/4.669, allocations: 2.068 MB / 1.323 GB, free: 94.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.61e-07/4.669, allocations: 0 / 1.323 GB, free: 94.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01513/4.685, allocations: 3.083 MB / 1.326 GB, free: 94.18 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.plug_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 (921): * Single equations (assignments): 806 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.09369/4.778, allocations: 31.3 MB / 1.356 GB, free: 92.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06339/4.842, allocations: 17.81 MB / 1.374 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/4.842, allocations: 0 / 1.374 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02701/4.869, allocations: 9.817 MB / 1.383 GB, free: 89.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01098/4.88, allocations: 0.9842 MB / 1.384 GB, free: 88.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2101/5.09, allocations: 87.23 MB / 1.47 GB, free: 31.94 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0174/5.108, allocations: 8.214 MB / 1.478 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01605/5.124, allocations: 2.582 MB / 1.48 GB, free: 23.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01384/5.138, allocations: 4.084 MB / 1.484 GB, free: 20.06 MB / 0.5417 GB Notification: Performance of SimCode: time 1.442e-06/5.138, allocations: 0 / 1.484 GB, free: 20.06 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.341/6.479, allocations: 230.2 MB / 1.709 GB, free: 73.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/6.479, allocations: 223.7 kB / 1.709 GB, free: 73.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.259/15.74, allocations: 0 / 1.709 GB, free: 73.29 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat