Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009301/0.00093, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.4 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008306/0.0008308, allocations: 98.73 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2287/0.2287, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.518e-05/4.519e-05, allocations: 224 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.443/0.5754, allocations: 102.5 MB / 0.6018 GB, free: 2.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.5757, allocations: 75.95 kB / 0.6018 GB, free: 2.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08752/0.6632, allocations: 38.72 MB / 0.6396 GB, free: 11.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6632, allocations: 0 / 0.6396 GB, free: 11.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.253e-05/0.6633, allocations: 24 kB / 0.6397 GB, free: 11.55 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.005193/0.6685, allocations: 1.682 MB / 0.6413 GB, free: 9.816 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.6686, allocations: 12.03 kB / 0.6413 GB, free: 9.805 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006356/0.6749, allocations: 0.9818 MB / 0.6423 GB, free: 8.82 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.6762, allocations: 0.5871 MB / 0.6428 GB, free: 8.188 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.564e-05/0.6763, allocations: 98.64 kB / 0.6429 GB, free: 8.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/0.6765, allocations: 143.8 kB / 0.6431 GB, free: 7.949 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.6791, allocations: 1.417 MB / 0.6445 GB, free: 6.484 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.6791, allocations: 0 / 0.6445 GB, free: 6.484 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.6793, allocations: 56 kB / 0.6445 GB, free: 6.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/0.6793, allocations: 35.98 kB / 0.6445 GB, free: 6.395 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.6816, allocations: 1.439 MB / 0.646 GB, free: 4.949 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00779/0.6894, allocations: 5.461 MB / 0.6513 GB, free: 15.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.6916, allocations: 2.147 MB / 0.6534 GB, free: 12.83 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008461/0.6925, allocations: 0.6087 MB / 0.654 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.6926, allocations: 106.1 kB / 0.6541 GB, free: 12.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.6927, allocations: 47.5 kB / 0.6541 GB, free: 12.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=127): time 2.866e-06/0.6927, allocations: 4 kB / 0.6541 GB, free: 12.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=127): time 0.002178/0.6949, allocations: 1.225 MB / 0.6553 GB, free: 10.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.6949, allocations: 94.05 kB / 0.6554 GB, free: 10.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.6955, allocations: 411.6 kB / 0.6558 GB, free: 10.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.911e-05/0.6956, allocations: 49.7 kB / 0.6559 GB, free: 10.22 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.6959, allocations: 451.7 kB / 0.6563 GB, free: 9.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.6962, allocations: 421.8 kB / 0.6567 GB, free: 9.352 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.6963, allocations: 20 kB / 0.6567 GB, free: 9.332 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.6965, allocations: 386.8 kB / 0.6571 GB, free: 8.945 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006933/0.6972, allocations: 414.6 kB / 0.6575 GB, free: 8.539 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.698, allocations: 0.6268 MB / 0.6581 GB, free: 7.836 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007709/0.6988, allocations: 484.5 kB / 0.6585 GB, free: 7.367 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.6988, allocations: 8 kB / 0.6586 GB, free: 7.359 MB / 474.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002419/0.7012, allocations: 1.461 MB / 0.66 GB, free: 5.887 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.7013, allocations: 4 kB / 0.66 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.7013, allocations: 8 kB / 0.66 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.7028, allocations: 0.5086 MB / 0.6605 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007386/0.7035, allocations: 187.7 kB / 0.6607 GB, free: 5.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006227/0.7097, allocations: 4.263 MB / 0.6648 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/0.7106, allocations: 122.8 kB / 0.6649 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.041e-05/0.7107, allocations: 51.97 kB / 0.665 GB, free: 0.6016 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (108): * Single equations (assignments): 107 * 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.0002321/0.7109, allocations: 166.8 kB / 0.6652 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.7111, allocations: 79.06 kB / 0.6652 GB, free: 364 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/0.7139, allocations: 1.567 MB / 0.6668 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.7139, allocations: 16 kB / 0.6668 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.7139, allocations: 0 / 0.6668 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.714, allocations: 11.97 kB / 0.6668 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004113/0.7181, allocations: 2.788 MB / 0.6695 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.7181, allocations: 0 / 0.6695 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.7187, allocations: 143.8 kB / 0.6696 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.7201, allocations: 0.5028 MB / 0.6701 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.797e-05/0.7202, allocations: 31.94 kB / 0.6702 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/0.7263, allocations: 4.248 MB / 0.6743 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.7264, allocations: 3.938 kB / 0.6743 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/0.7297, allocations: 2.179 MB / 0.6765 GB, free: 4.617 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/0.7302, allocations: 295.7 kB / 0.6767 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.7304, allocations: 28 kB / 0.6768 GB, free: 4.281 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.731, allocations: 55.97 kB / 0.6768 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.7312, allocations: 93.17 kB / 0.6769 GB, free: 4.137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/0.7313, allocations: 39.94 kB / 0.6769 GB, free: 4.098 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003747/0.7317, allocations: 313.6 kB / 0.6772 GB, free: 3.789 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7317, allocations: 0 / 0.6772 GB, free: 3.789 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001217/0.7329, allocations: 407.1 kB / 0.6776 GB, free: 3.391 MB / 490.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 (84): * Single equations (assignments): 83 * 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.0003749/0.7333, allocations: 201.4 kB / 0.6778 GB, free: 3.184 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.7363, allocations: 1.657 MB / 0.6794 GB, free: 1.516 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7364, allocations: 0 / 0.6794 GB, free: 1.516 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.7382, allocations: 1.106 MB / 0.6805 GB, free: 404 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.7387, allocations: 78.61 kB / 0.6806 GB, free: 328 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/0.7433, allocations: 2.126 MB / 0.6827 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006695/0.744, allocations: 1.095 MB / 0.6837 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00053/0.7445, allocations: 110.7 kB / 0.6838 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.7447, allocations: 59.42 kB / 0.6839 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.7447, allocations: 4 kB / 0.6839 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.02601/0.7708, allocations: 16.13 MB / 0.6997 GB, free: 12.84 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)