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.006053/0.006053, allocations: 176 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.768/1.768, allocations: 194.5 MB / 210.3 MB, free: 7.625 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.001796/0.001796, allocations: 128.5 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2277/0.2277, allocations: 40 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004992, allocations: 10.19 kB / 406.2 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1461, allocations: 54.88 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.509/0.6551, allocations: 94.88 MB / 0.5429 GB, free: 21.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.6555, allocations: 83.98 kB / 0.543 GB, free: 21.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08611/0.7416, allocations: 38.83 MB / 0.5809 GB, free: 12.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7416, allocations: 0 / 0.5809 GB, free: 12.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.135e-05/0.7417, allocations: 19.41 kB / 0.5809 GB, free: 12.78 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.005171/0.7468, allocations: 1.73 MB / 0.5826 GB, free: 11.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.7469, allocations: 9.594 kB / 0.5826 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007104/0.754, allocations: 1.065 MB / 0.5836 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.7555, allocations: 0.5699 MB / 0.5842 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.405e-05/0.7556, allocations: 102.7 kB / 0.5843 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.7558, allocations: 131.4 kB / 0.5844 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/0.7585, allocations: 1.504 MB / 0.5859 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/0.7586, allocations: 7.781 kB / 0.5859 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.7587, allocations: 54.22 kB / 0.5859 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.7588, allocations: 42.33 kB / 0.586 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.7612, allocations: 1.588 MB / 0.5875 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007913/0.7691, allocations: 5.46 MB / 0.5929 GB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.7713, allocations: 2.379 MB / 0.5952 GB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.7715, allocations: 109.2 kB / 0.5953 GB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.7716, allocations: 47.03 kB / 0.5953 GB, free: 5.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 4.097e-06/0.7716, allocations: 0 / 0.5953 GB, free: 5.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.008145/0.7797, allocations: 3.127 MB / 0.5984 GB, free: 4.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.7798, allocations: 101.4 kB / 0.5985 GB, free: 4.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005895/0.7804, allocations: 394.6 kB / 0.5989 GB, free: 4.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.695e-05/0.7805, allocations: 44.8 kB / 0.5989 GB, free: 4.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.7808, allocations: 461.2 kB / 0.5993 GB, free: 4.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.7812, allocations: 427.4 kB / 0.5998 GB, free: 3.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.7812, allocations: 30.06 kB / 0.5998 GB, free: 3.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.7814, allocations: 382.7 kB / 0.6001 GB, free: 3.508 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008259/0.7822, allocations: 469 kB / 0.6006 GB, free: 3.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009362/0.7832, allocations: 0.7148 MB / 0.6013 GB, free: 3.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009398/0.7841, allocations: 0.5257 MB / 0.6018 GB, free: 3.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.954e-06/0.7841, allocations: 3.875 kB / 0.6018 GB, free: 3.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00261/0.7867, allocations: 1.607 MB / 0.6034 GB, free: 2.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.7868, allocations: 9.438 kB / 0.6034 GB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.7868, allocations: 11.66 kB / 0.6034 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/0.7884, allocations: 0.5099 MB / 0.6039 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.7892, allocations: 214.4 kB / 0.6041 GB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006572/0.7958, allocations: 4.422 MB / 0.6084 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.7971, allocations: 125.5 kB / 0.6085 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.499e-05/0.7972, allocations: 50.78 kB / 0.6086 GB, free: 14.55 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.000752/0.7979, allocations: 282.9 kB / 0.6089 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.7981, allocations: 75.47 kB / 0.6089 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/0.801, allocations: 1.59 MB / 0.6105 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.801, allocations: 14.56 kB / 0.6105 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.8011, allocations: 0 / 0.6105 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.8011, allocations: 7.969 kB / 0.6105 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005537/0.8066, allocations: 2.903 MB / 0.6133 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.8067, allocations: 3.469 kB / 0.6133 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.8073, allocations: 152.4 kB / 0.6135 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.8089, allocations: 0.5078 MB / 0.614 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.575e-05/0.809, allocations: 26.36 kB / 0.614 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007615/0.8166, allocations: 4.406 MB / 0.6183 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8167, allocations: 0 / 0.6183 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004776/0.8215, allocations: 2.339 MB / 0.6206 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008054/0.8223, allocations: 283.8 kB / 0.6209 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.8224, allocations: 20 kB / 0.6209 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006662/0.8231, allocations: 55.97 kB / 0.6209 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003441/0.8235, allocations: 101.2 kB / 0.621 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.443e-05/0.8235, allocations: 35.98 kB / 0.6211 GB, free: 3.773 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004859/0.824, allocations: 294.9 kB / 0.6214 GB, free: 3.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.824, allocations: 0 / 0.6214 GB, free: 3.484 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001678/0.8257, allocations: 426.9 kB / 0.6218 GB, free: 3.066 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.0003946/0.8261, allocations: 171.3 kB / 0.6219 GB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003942/0.8301, allocations: 1.782 MB / 0.6237 GB, free: 1.105 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8301, allocations: 0 / 0.6237 GB, free: 1.105 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002386/0.8325, allocations: 1.166 MB / 0.6248 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.8332, allocations: 82.39 kB / 0.6249 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006862/0.8401, allocations: 3.096 MB / 0.6279 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008918/0.841, allocations: 1.099 MB / 0.629 GB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006105/0.8416, allocations: 114.8 kB / 0.6291 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.8418, allocations: 63.42 kB / 0.6291 GB, free: 11.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.8419, allocations: 3.938 kB / 0.6292 GB, free: 11.45 MB / 410.7 MB Notification: Performance of Templates: time 0.02779/0.8697, allocations: 15.97 MB / 0.6447 GB, free: 11.54 MB / 426.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)