Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001682, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001981/0.001981, allocations: 192.2 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.1 MB / 222.1 MB, free: 4.938 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.4565/0.4565, allocations: 39.93 MB / 309.4 MB, free: 9.188 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.001512/0.001511, allocations: 64.47 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1801, allocations: 56.87 MB / 434 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01039/0.1905, allocations: 6.891 MB / 440.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00559/0.1962, allocations: 2.175 MB / 443.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1973, allocations: 20 kB / 443.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00375/0.2011, allocations: 1.42 MB / 444.5 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002663/0.2038, allocations: 0.7816 MB / 445.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.2051, allocations: 0.5415 MB / 445.8 MB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.2064, allocations: 1.175 MB / 447 MB, free: 6.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.2076, allocations: 0.9133 MB / 447.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.2082, allocations: 486 kB / 448.4 MB, free: 5.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005402/0.2088, allocations: 0.6185 MB / 449 MB, free: 4.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.2089, allocations: 96 kB / 449.1 MB, free: 4.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006297/0.2095, allocations: 283.8 kB / 449.4 MB, free: 4.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.2097, allocations: 259 kB / 449.6 MB, free: 4.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004711/0.2102, allocations: 0.5635 MB / 450.2 MB, free: 3.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.2117, allocations: 1.46 MB / 451.6 MB, free: 2.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2117, allocations: 0 / 451.6 MB, free: 2.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2117, allocations: 0 / 451.6 MB, free: 2.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.2118, allocations: 0 / 451.6 MB, free: 2.289 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.00405/0.2158, allocations: 1.713 MB / 453.4 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.2159, allocations: 11.89 kB / 453.4 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3832/0.5991, allocations: 1.42 MB / 454.8 MB, free: 40.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.6009, allocations: 0.5356 MB / 455.3 MB, free: 40.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.601, allocations: 89.55 kB / 455.4 MB, free: 40.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.6013, allocations: 126.3 kB / 455.5 MB, free: 40.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.6036, allocations: 1.186 MB / 456.7 MB, free: 40.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/0.6037, allocations: 5.281 kB / 456.7 MB, free: 40.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.6038, allocations: 48.84 kB / 456.8 MB, free: 40.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.6038, allocations: 31.09 kB / 456.8 MB, free: 40.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.606, allocations: 1.436 MB / 458.2 MB, free: 40.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007342/0.6133, allocations: 4.842 MB / 463.1 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.6151, allocations: 1.196 MB / 464.3 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/0.6156, allocations: 379.9 kB / 464.6 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.6158, allocations: 98.02 kB / 464.7 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.6158, allocations: 46.56 kB / 464.8 MB, free: 37.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.606e-06/0.6158, allocations: 0 / 464.8 MB, free: 37.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.002199/0.618, allocations: 1.198 MB / 466 MB, free: 36.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.6181, allocations: 65.7 kB / 466.1 MB, free: 36.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009299/0.619, allocations: 0.801 MB / 466.9 MB, free: 36.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.6191, allocations: 43.61 kB / 466.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.6194, allocations: 475.7 kB / 467.4 MB, free: 36.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.6196, allocations: 315.7 kB / 467.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/0.6199, allocations: 195.6 kB / 467.9 MB, free: 35.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.62, allocations: 404.5 kB / 468.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.6206, allocations: 340.9 kB / 468.6 MB, free: 35.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007302/0.6213, allocations: 0.6093 MB / 469.2 MB, free: 34.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.6226, allocations: 0.9706 MB / 470.2 MB, free: 34.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.6226, allocations: 3.062 kB / 470.2 MB, free: 34.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001917/0.6245, allocations: 1.167 MB / 471.3 MB, free: 33.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.6245, allocations: 13.19 kB / 471.4 MB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.6246, allocations: 13.31 kB / 471.4 MB, free: 33.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003349/0.6249, allocations: 65.16 kB / 471.4 MB, free: 33.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009828/0.6259, allocations: 266.3 kB / 471.7 MB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.6278, allocations: 2.829 MB / 474.5 MB, free: 30.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009257/0.6287, allocations: 145.4 kB / 474.7 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-05/0.6288, allocations: 44.34 kB / 474.7 MB, free: 30.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004622/0.6293, allocations: 256 kB / 475 MB, free: 30.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.6294, allocations: 97.28 kB / 475 MB, free: 30.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.6312, allocations: 1.11 MB / 476.2 MB, free: 29.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.6312, allocations: 13.94 kB / 476.2 MB, free: 29.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.6312, allocations: 0 / 476.2 MB, free: 29.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.6312, allocations: 3.516 kB / 476.2 MB, free: 29.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.6345, allocations: 2.726 MB / 478.9 MB, free: 28.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.6345, allocations: 6 kB / 478.9 MB, free: 28.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000701/0.6353, allocations: 182 kB / 479.1 MB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002197/0.6355, allocations: 62.67 kB / 479.1 MB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.6355, allocations: 27.67 kB / 479.2 MB, free: 28.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.6373, allocations: 2.833 MB / 482 MB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.6373, allocations: 9.75 kB / 482 MB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.6394, allocations: 1.477 MB / 483.5 MB, free: 24.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.6397, allocations: 190 kB / 483.7 MB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.6398, allocations: 28.52 kB / 483.7 MB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/0.6404, allocations: 55.73 kB / 483.8 MB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.6406, allocations: 87.2 kB / 483.8 MB, free: 24.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.6407, allocations: 32.59 kB / 483.9 MB, free: 24.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006798/0.6414, allocations: 0.5631 MB / 484.4 MB, free: 23.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6414, allocations: 2.344 kB / 484.4 MB, free: 23.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001128/0.6425, allocations: 294.3 kB / 484.7 MB, free: 23.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000367/0.6429, allocations: 169.7 kB / 484.9 MB, free: 23.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002319/0.6452, allocations: 1.137 MB / 486 MB, free: 23.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.6452, allocations: 0 / 486 MB, free: 23.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008849/0.6461, allocations: 0.622 MB / 486.7 MB, free: 22.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008571/0.647, allocations: 118.8 kB / 486.8 MB, free: 22.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/0.6512, allocations: 2.235 MB / 489 MB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007643/0.6519, allocations: 0.9957 MB / 490 MB, free: 20.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007892/0.6527, allocations: 155.6 kB / 490.2 MB, free: 20.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.653, allocations: 76.98 kB / 490.2 MB, free: 20.54 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.653, allocations: 0 / 490.2 MB, free: 20.54 MB / 382.1 MB Notification: Performance of Templates: time 0.03383/0.6868, allocations: 10.45 MB / 0.4889 GB, free: 19.92 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1)