Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001483/0.001483, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.56/1.56, allocations: 194.3 MB / 202.4 MB, free: 8.551 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001533/0.001533, allocations: 110.7 kB / 247.4 MB, free: 6.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2262/0.2262, allocations: 39.95 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.826e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4197/0.5275, allocations: 94.13 MB / 0.5296 GB, free: 5.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.5278, allocations: 83.69 kB / 0.5297 GB, free: 5.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08415/0.6119, allocations: 38.22 MB / 0.567 GB, free: 7.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.612, allocations: 0 / 0.567 GB, free: 7.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.762e-05/0.612, allocations: 20 kB / 0.567 GB, free: 7.23 MB / 378.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.004799/0.6168, allocations: 1.675 MB / 0.5687 GB, free: 5.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.6169, allocations: 8.031 kB / 0.5687 GB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006932/0.6238, allocations: 1.056 MB / 0.5697 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.6253, allocations: 0.5672 MB / 0.5703 GB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.113e-05/0.6254, allocations: 44 kB / 0.5703 GB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.6256, allocations: 76 kB / 0.5704 GB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002565/0.6282, allocations: 1.417 MB / 0.5718 GB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.6302, allocations: 1.201 MB / 0.5729 GB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.6303, allocations: 4 kB / 0.5729 GB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.6304, allocations: 3.953 kB / 0.5729 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.6304, allocations: 36 kB / 0.573 GB, free: 1.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007938/0.6383, allocations: 5.24 MB / 0.5781 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.6406, allocations: 2.293 MB / 0.5803 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007734/0.6414, allocations: 0.583 MB / 0.5809 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.6416, allocations: 114.3 kB / 0.581 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.6416, allocations: 47.81 kB / 0.5811 GB, free: 8.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 3.426e-06/0.6416, allocations: 0 / 0.5811 GB, free: 8.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=129): time 0.002558/0.6442, allocations: 1.318 MB / 0.5823 GB, free: 7.434 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.6443, allocations: 94.36 kB / 0.5824 GB, free: 7.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.6446, allocations: 333 kB / 0.5828 GB, free: 6.996 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.496e-05/0.6447, allocations: 29.64 kB / 0.5828 GB, free: 6.961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.6449, allocations: 459.3 kB / 0.5832 GB, free: 6.504 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.6453, allocations: 421.6 kB / 0.5836 GB, free: 6.086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.6453, allocations: 0 / 0.5836 GB, free: 6.086 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6455, allocations: 374.8 kB / 0.584 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.6461, allocations: 402.6 kB / 0.5844 GB, free: 5.316 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/0.6469, allocations: 0.6414 MB / 0.585 GB, free: 4.578 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.6483, allocations: 0.6503 MB / 0.5856 GB, free: 3.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.6483, allocations: 7.953 kB / 0.5856 GB, free: 3.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00305/0.6514, allocations: 1.576 MB / 0.5872 GB, free: 2.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.6514, allocations: 11.95 kB / 0.5872 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.6514, allocations: 12.03 kB / 0.5872 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.6528, allocations: 0.4889 MB / 0.5877 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007959/0.6537, allocations: 215.6 kB / 0.5879 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005868/0.6595, allocations: 4.127 MB / 0.5919 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008971/0.6605, allocations: 98.8 kB / 0.592 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.064e-05/0.6606, allocations: 55.98 kB / 0.5921 GB, free: 13.21 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: impedance.i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real impedance.v.re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real admittance.i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real variableAdmittance.v.re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real idealIntermediateSwitch.s4.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real idealCommutingSwitch.s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real idealOpeningSwitch.s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real idealCommutingSwitch.s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real idealIntermediateSwitch.s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real idealCommutingSwitch.s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real idealIntermediateSwitch.s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real idealIntermediateSwitch.s4.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real idealIntermediateSwitch.s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real idealIntermediateSwitch.s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real idealIntermediateSwitch.s3.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real idealIntermediateSwitch.s3.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real idealOpeningSwitch.s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real idealClosingSwitch.s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real idealCommutingSwitch.s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real idealClosingSwitch.s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 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 () * 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.0003385/0.6609, allocations: 183.9 kB / 0.5922 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.6611, allocations: 71.16 kB / 0.5923 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/0.664, allocations: 1.543 MB / 0.5938 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.664, allocations: 16 kB / 0.5938 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.664, allocations: 0 / 0.5938 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.664, allocations: 7.969 kB / 0.5938 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/0.6687, allocations: 2.704 MB / 0.5965 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.6687, allocations: 3.938 kB / 0.5965 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/0.6693, allocations: 147.8 kB / 0.5966 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.6707, allocations: 0.4911 MB / 0.5971 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.6707, allocations: 4 kB / 0.5971 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005919/0.6767, allocations: 4.137 MB / 0.6011 GB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.6767, allocations: 7.938 kB / 0.6011 GB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.6804, allocations: 2.242 MB / 0.6033 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/0.6809, allocations: 291.7 kB / 0.6036 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.681, allocations: 0 / 0.6036 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006395/0.6816, allocations: 31.97 kB / 0.6036 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.6819, allocations: 105.2 kB / 0.6037 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/0.6819, allocations: 32 kB / 0.6038 GB, free: 0.957 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002697/0.6822, allocations: 243 kB / 0.604 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6822, allocations: 0 / 0.604 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001268/0.6835, allocations: 362.9 kB / 0.6044 GB, free: 372 kB / 410.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 () * 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.0002911/0.6838, allocations: 147 kB / 0.6045 GB, free: 216 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002839/0.6866, allocations: 1.595 MB / 0.6061 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6867, allocations: 0 / 0.6061 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.6884, allocations: 1.048 MB / 0.6071 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.6889, allocations: 57.75 kB / 0.6071 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.6935, allocations: 2.012 MB / 0.6091 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.6943, allocations: 1.099 MB / 0.6102 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005806/0.6949, allocations: 106.4 kB / 0.6103 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.695, allocations: 55.44 kB / 0.6103 GB, free: 10.16 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.695, allocations: 0 / 0.6103 GB, free: 10.16 MB / 426.7 MB Notification: Performance of Templates: time 0.0253/0.7204, allocations: 14.82 MB / 0.6248 GB, free: 11.39 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)