Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 184.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008997/0.0008997, allocations: 102.8 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2212/0.2212, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 58.87 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.6103, allocations: 100.9 MB / 0.5773 GB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.6106, allocations: 85.45 kB / 0.5773 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08866/0.6993, allocations: 39.26 MB / 0.6157 GB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.6994, allocations: 0 / 0.6157 GB, free: 14.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.085e-05/0.6994, allocations: 20 kB / 0.6157 GB, free: 14.48 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.005361/0.7048, allocations: 1.764 MB / 0.6174 GB, free: 12.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.7049, allocations: 12.02 kB / 0.6174 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007038/0.7119, allocations: 1.065 MB / 0.6185 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.7134, allocations: 0.6061 MB / 0.6191 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.7135, allocations: 104.2 kB / 0.6192 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.7138, allocations: 133.3 kB / 0.6193 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.7165, allocations: 1.522 MB / 0.6208 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.7166, allocations: 3.906 kB / 0.6208 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.7167, allocations: 59.75 kB / 0.6208 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/0.7167, allocations: 39.56 kB / 0.6209 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.7195, allocations: 1.594 MB / 0.6224 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008741/0.7283, allocations: 5.622 MB / 0.6279 GB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.7308, allocations: 2.373 MB / 0.6302 GB, free: 288 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.731, allocations: 110 kB / 0.6304 GB, free: 160 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.7311, allocations: 51.56 kB / 0.6304 GB, free: 100 kB / 426.7 MB Notification: Performance of pre-optimization done (n=129): time 4.087e-06/0.7311, allocations: 4 kB / 0.6304 GB, free: 96 kB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.008692/0.7398, allocations: 3.137 MB / 0.6335 GB, free: 12.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.7399, allocations: 94.05 kB / 0.6336 GB, free: 12.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005323/0.7404, allocations: 425 kB / 0.634 GB, free: 12.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.06e-05/0.7405, allocations: 45.7 kB / 0.634 GB, free: 12.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.7408, allocations: 479.4 kB / 0.6345 GB, free: 11.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.7412, allocations: 417.8 kB / 0.6349 GB, free: 11.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.7412, allocations: 32 kB / 0.6349 GB, free: 11.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.7414, allocations: 382.8 kB / 0.6353 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008094/0.7422, allocations: 466.4 kB / 0.6357 GB, free: 10.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.7432, allocations: 0.7142 MB / 0.6364 GB, free: 9.762 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009549/0.7442, allocations: 0.5257 MB / 0.6369 GB, free: 9.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.7442, allocations: 7.953 kB / 0.6369 GB, free: 9.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002878/0.7471, allocations: 1.611 MB / 0.6385 GB, free: 7.605 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.7472, allocations: 11.95 kB / 0.6385 GB, free: 7.594 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.7472, allocations: 8 kB / 0.6385 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.7487, allocations: 0.5165 MB / 0.639 GB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008088/0.7496, allocations: 203.7 kB / 0.6392 GB, free: 6.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007955/0.7575, allocations: 4.424 MB / 0.6435 GB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.7587, allocations: 130.8 kB / 0.6437 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.426e-05/0.7588, allocations: 44 kB / 0.6437 GB, free: 2.137 MB / 442.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.0007885/0.7596, allocations: 281.4 kB / 0.644 GB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.7598, allocations: 86.95 kB / 0.6441 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/0.7627, allocations: 1.579 MB / 0.6456 GB, free: 176 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.7627, allocations: 12 kB / 0.6456 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.7627, allocations: 0 / 0.6456 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.7627, allocations: 7.969 kB / 0.6456 GB, free: 156 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004806/0.7675, allocations: 2.927 MB / 0.6485 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7676, allocations: 0 / 0.6485 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.7682, allocations: 143.8 kB / 0.6486 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.7696, allocations: 0.5106 MB / 0.6491 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.969e-05/0.7697, allocations: 27.98 kB / 0.6491 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006674/0.7764, allocations: 4.417 MB / 0.6534 GB, free: 7.922 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7764, allocations: 4 kB / 0.6535 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003877/0.7803, allocations: 2.327 MB / 0.6557 GB, free: 5.559 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005211/0.7808, allocations: 295.6 kB / 0.656 GB, free: 5.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.781, allocations: 28 kB / 0.656 GB, free: 5.223 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006139/0.7816, allocations: 56.03 kB / 0.6561 GB, free: 5.168 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.7818, allocations: 93.17 kB / 0.6562 GB, free: 5.078 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/0.7819, allocations: 35.98 kB / 0.6562 GB, free: 5.043 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004622/0.7824, allocations: 318.9 kB / 0.6565 GB, free: 4.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7824, allocations: 0 / 0.6565 GB, free: 4.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00149/0.7839, allocations: 427 kB / 0.6569 GB, free: 4.312 MB / 458.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.0003619/0.7843, allocations: 165.9 kB / 0.6571 GB, free: 4.145 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003577/0.7878, allocations: 1.779 MB / 0.6588 GB, free: 2.359 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.7879, allocations: 8.125 kB / 0.6588 GB, free: 2.352 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002097/0.79, allocations: 1.161 MB / 0.66 GB, free: 1.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006398/0.7906, allocations: 92.86 kB / 0.66 GB, free: 1.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/0.7976, allocations: 3.162 MB / 0.6631 GB, free: 13.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000771/0.7984, allocations: 1.111 MB / 0.6642 GB, free: 12.75 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005797/0.7989, allocations: 115 kB / 0.6643 GB, free: 12.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.7991, allocations: 63.42 kB / 0.6644 GB, free: 12.57 MB / 474.7 MB Notification: Performance of SimCode: time 1.773e-06/0.7992, allocations: 0 / 0.6644 GB, free: 12.57 MB / 474.7 MB Notification: Performance of Templates: time 0.02854/0.8277, allocations: 16.09 MB / 0.6801 GB, free: 12.5 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)