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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 94.28 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 179 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5268/0.5268, allocations: 40 MB / 310.7 MB, free: 9.434 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007033/0.0007036, allocations: 20 kB / 379.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1738, allocations: 57.96 MB / 437.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01165/0.1855, allocations: 7.128 MB / 444.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006817/0.1923, allocations: 2.314 MB / 446.9 MB, free: 8.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.1941, allocations: 27.94 kB / 446.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.1959, allocations: 362.4 kB / 447.2 MB, free: 8.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0037/0.1997, allocations: 0.8087 MB / 448 MB, free: 7.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.2024, allocations: 0.8145 MB / 448.9 MB, free: 6.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002676/0.2051, allocations: 1.378 MB / 450.2 MB, free: 5.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003354/0.2085, allocations: 1.689 MB / 451.9 MB, free: 3.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009444/0.2094, allocations: 0.5368 MB / 452.5 MB, free: 2.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008359/0.2103, allocations: 0.669 MB / 453.1 MB, free: 2.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.2104, allocations: 56 kB / 453.2 MB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.2114, allocations: 267.8 kB / 453.4 MB, free: 1.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.2117, allocations: 250.8 kB / 453.7 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00073/0.2124, allocations: 0.6195 MB / 454.3 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3283/0.5407, allocations: 1.659 MB / 456 MB, free: 37.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5408, allocations: 0 / 456 MB, free: 37.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.858e-06/0.5408, allocations: 0 / 456 MB, free: 37.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.114e-05/0.5409, allocations: 0 / 456 MB, free: 37.98 MB / 382.1 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.007105/0.548, allocations: 2.157 MB / 458.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/0.5481, allocations: 8.781 kB / 458.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.5582, allocations: 1.503 MB / 459.6 MB, free: 37.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.5597, allocations: 0.6145 MB / 460.3 MB, free: 36.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.847e-05/0.5598, allocations: 102.9 kB / 460.4 MB, free: 36.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.56, allocations: 136.6 kB / 460.5 MB, free: 36.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.5625, allocations: 1.543 MB / 462 MB, free: 36.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.455e-05/0.5626, allocations: 7.312 kB / 462 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.5627, allocations: 55.19 kB / 462.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.5628, allocations: 34.41 kB / 462.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.5653, allocations: 1.596 MB / 463.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007395/0.5727, allocations: 5.586 MB / 469.3 MB, free: 34.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.5748, allocations: 2.367 MB / 471.7 MB, free: 33.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009148/0.5758, allocations: 0.6723 MB / 472.3 MB, free: 33.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.5759, allocations: 100.1 kB / 472.4 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.576, allocations: 48.62 kB / 472.5 MB, free: 32.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 4.709e-06/0.576, allocations: 0 / 472.5 MB, free: 32.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.008829/0.5848, allocations: 3.226 MB / 475.7 MB, free: 31.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.5849, allocations: 94.77 kB / 475.8 MB, free: 31.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.5855, allocations: 487.8 kB / 476.3 MB, free: 31.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.094e-05/0.5856, allocations: 44.55 kB / 476.3 MB, free: 31.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.5858, allocations: 483.1 kB / 476.8 MB, free: 31.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.5861, allocations: 429 kB / 477.2 MB, free: 30.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.5862, allocations: 110.3 kB / 477.3 MB, free: 30.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5864, allocations: 382.9 kB / 477.7 MB, free: 30.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007583/0.5871, allocations: 474.1 kB / 478.2 MB, free: 30.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008762/0.588, allocations: 0.7492 MB / 478.9 MB, free: 29.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.5897, allocations: 1.281 MB / 480.2 MB, free: 28.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.5897, allocations: 3.125 kB / 480.2 MB, free: 28.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002712/0.5924, allocations: 1.681 MB / 481.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.5925, allocations: 9.469 kB / 481.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.5925, allocations: 9.625 kB / 481.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.594, allocations: 0.5327 MB / 482.4 MB, free: 28.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.5948, allocations: 216.3 kB / 482.6 MB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0066/0.6014, allocations: 4.713 MB / 487.4 MB, free: 25.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.6025, allocations: 142.2 kB / 487.5 MB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.399e-05/0.6026, allocations: 55.72 kB / 487.5 MB, free: 24.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005459/0.6031, allocations: 275.8 kB / 487.8 MB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.6033, allocations: 79.31 kB / 487.9 MB, free: 24.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.6059, allocations: 1.606 MB / 489.5 MB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.6059, allocations: 16.91 kB / 489.5 MB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6059, allocations: 3.938 kB / 489.5 MB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.606, allocations: 8.141 kB / 489.5 MB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004953/0.6109, allocations: 2.91 MB / 492.4 MB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.611, allocations: 1.125 kB / 492.4 MB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006743/0.6116, allocations: 150.3 kB / 492.6 MB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.6133, allocations: 0.5202 MB / 493.1 MB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.751e-05/0.6134, allocations: 30.16 kB / 493.1 MB, free: 22.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007636/0.621, allocations: 4.714 MB / 497.9 MB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.6211, allocations: 1.75 kB / 497.9 MB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004643/0.6258, allocations: 2.332 MB / 0.4885 GB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006916/0.6265, allocations: 283 kB / 0.4887 GB, free: 17.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.6266, allocations: 26.02 kB / 0.4888 GB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/0.6273, allocations: 58.64 kB / 0.4888 GB, free: 17.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/0.6276, allocations: 99.56 kB / 0.4889 GB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/0.6277, allocations: 42.23 kB / 0.4889 GB, free: 17.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004355/0.6281, allocations: 321.1 kB / 0.4893 GB, free: 17.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6281, allocations: 0 / 0.4893 GB, free: 17.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001553/0.6297, allocations: 423.4 kB / 0.4897 GB, free: 17.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003162/0.63, allocations: 155.8 kB / 0.4898 GB, free: 17.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004133/0.6342, allocations: 1.891 MB / 0.4917 GB, free: 16.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6342, allocations: 0 / 0.4917 GB, free: 16.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002505/0.6367, allocations: 1.246 MB / 0.4929 GB, free: 16.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009331/0.6377, allocations: 94.42 kB / 0.493 GB, free: 16.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/0.6425, allocations: 2.709 MB / 0.4956 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/0.6433, allocations: 1.089 MB / 0.4967 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006616/0.644, allocations: 117.2 kB / 0.4968 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.6442, allocations: 62.12 kB / 0.4968 GB, free: 13.58 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.6442, allocations: 0 / 0.4968 GB, free: 13.58 MB / 382.1 MB Notification: Performance of Templates: time 0.03578/0.68, allocations: 16.82 MB / 0.5133 GB, free: 5.184 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: