Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.Ideal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",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.01019/0.01019, allocations: 175.8 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 2.006/2.006, allocations: 194.5 MB / 210.3 MB, free: 11.4 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.001981/0.001981, allocations: 120.7 kB / 255.6 MB, free: 14.51 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.4299/0.4299, allocations: 40 MB / 340.8 MB, free: 14.99 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004678, allocations: 12 kB / 406.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3434, allocations: 54.87 MB / 461.1 MB, free: 24.48 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.5045, allocations: 94.89 MB / 0.543 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.5049, allocations: 83.95 kB / 0.5431 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4621/0.9669, allocations: 38.8 MB / 0.581 GB, free: 81.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.967, allocations: 0 / 0.581 GB, free: 81.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.538e-05/0.9671, allocations: 27.31 kB / 0.581 GB, free: 81.64 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.007563/0.9746, allocations: 1.733 MB / 0.5827 GB, free: 80.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.9747, allocations: 11.56 kB / 0.5827 GB, free: 80.42 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004788/0.9752, allocations: 205.6 kB / 0.5829 GB, free: 80.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.9859, allocations: 1.058 MB / 0.5839 GB, free: 79.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.9873, allocations: 0.5758 MB / 0.5845 GB, free: 78.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.236e-05/0.9874, allocations: 94.69 kB / 0.5846 GB, free: 78.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.9877, allocations: 132 kB / 0.5847 GB, free: 78.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003873/0.9916, allocations: 1.507 MB / 0.5862 GB, free: 76.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.314e-05/0.9917, allocations: 7.906 kB / 0.5862 GB, free: 76.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/0.9919, allocations: 60 kB / 0.5862 GB, free: 76.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.9919, allocations: 35.95 kB / 0.5863 GB, free: 76.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004236/0.9962, allocations: 1.587 MB / 0.5878 GB, free: 75.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/1.008, allocations: 5.456 MB / 0.5932 GB, free: 69.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/1.012, allocations: 2.386 MB / 0.5955 GB, free: 66.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/1.012, allocations: 102.1 kB / 0.5956 GB, free: 66.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/1.012, allocations: 55.5 kB / 0.5956 GB, free: 66.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 4.218e-06/1.012, allocations: 0 / 0.5956 GB, free: 66.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=129): time 0.01571/1.028, allocations: 3.137 MB / 0.5987 GB, free: 63.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/1.028, allocations: 90.11 kB / 0.5988 GB, free: 63.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/1.029, allocations: 392.8 kB / 0.5992 GB, free: 62.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003016/1.03, allocations: 45.7 kB / 0.5992 GB, free: 62.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/1.03, allocations: 459.4 kB / 0.5996 GB, free: 62.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006703/1.031, allocations: 429.8 kB / 0.6001 GB, free: 61.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/1.031, allocations: 24 kB / 0.6001 GB, free: 61.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/1.031, allocations: 386.7 kB / 0.6004 GB, free: 61.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/1.034, allocations: 466.4 kB / 0.6009 GB, free: 61.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002762/1.037, allocations: 0.7142 MB / 0.6016 GB, free: 60.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002602/1.039, allocations: 0.5257 MB / 0.6021 GB, free: 59.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/1.039, allocations: 0 / 0.6021 GB, free: 59.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.007428/1.047, allocations: 1.611 MB / 0.6037 GB, free: 58.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/1.047, allocations: 11.12 kB / 0.6037 GB, free: 58.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/1.047, allocations: 8 kB / 0.6037 GB, free: 58.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004047/1.051, allocations: 0.5203 MB / 0.6042 GB, free: 57.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/1.053, allocations: 203.7 kB / 0.6044 GB, free: 57.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01619/1.07, allocations: 4.417 MB / 0.6087 GB, free: 52.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/1.072, allocations: 138.7 kB / 0.6088 GB, free: 52.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/1.072, allocations: 51.95 kB / 0.6089 GB, free: 52.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0009929/1.073, allocations: 269.5 kB / 0.6092 GB, free: 52.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/1.073, allocations: 86.95 kB / 0.6092 GB, free: 52.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00721/1.081, allocations: 1.587 MB / 0.6108 GB, free: 50.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/1.081, allocations: 12 kB / 0.6108 GB, free: 50.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.081, allocations: 0 / 0.6108 GB, free: 50.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/1.081, allocations: 15.91 kB / 0.6108 GB, free: 50.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006801/1.088, allocations: 2.9 MB / 0.6136 GB, free: 47.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.088, allocations: 4 kB / 0.6136 GB, free: 47.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/1.089, allocations: 143.8 kB / 0.6138 GB, free: 47.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/1.091, allocations: 0.5106 MB / 0.6143 GB, free: 47.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/1.092, allocations: 27.98 kB / 0.6143 GB, free: 47.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/1.102, allocations: 4.414 MB / 0.6186 GB, free: 42.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.102, allocations: 0 / 0.6186 GB, free: 42.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005989/1.108, allocations: 2.316 MB / 0.6209 GB, free: 40.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006626/1.109, allocations: 295.6 kB / 0.6212 GB, free: 39.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/1.109, allocations: 20 kB / 0.6212 GB, free: 39.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.11, allocations: 67.97 kB / 0.6212 GB, free: 39.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/1.11, allocations: 93.17 kB / 0.6213 GB, free: 39.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.11, allocations: 35.98 kB / 0.6214 GB, free: 39.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000439/1.111, allocations: 294.9 kB / 0.6217 GB, free: 39.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.111, allocations: 0 / 0.6217 GB, free: 39.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00166/1.112, allocations: 419 kB / 0.6221 GB, free: 38.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.006375/1.119, allocations: 3.085 MB / 0.6251 GB, free: 35.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00762/1.127, allocations: 1.783 MB / 0.6268 GB, free: 33.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.127, allocations: 4.062 kB / 0.6268 GB, free: 33.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004996/1.132, allocations: 1.157 MB / 0.6279 GB, free: 32.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.133, allocations: 85.81 kB / 0.628 GB, free: 32.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/1.158, allocations: 11.35 MB / 0.6391 GB, free: 21.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009857/1.159, allocations: 1.103 MB / 0.6402 GB, free: 20.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00134/1.16, allocations: 106.9 kB / 0.6403 GB, free: 19.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.162, allocations: 387.3 kB / 0.6406 GB, free: 19.56 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/1.162, allocations: 0 / 0.6406 GB, free: 19.56 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/1.284, allocations: 23.45 MB / 0.6635 GB, free: 12.16 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004802/1.284, allocations: 220.8 kB / 0.6638 GB, free: 11.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.347/4.631, allocations: 0 / 0.6638 GB, free: 11.91 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat