Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001942/0.001942, allocations: 191.2 kB / 16.14 MB, free: 6.703 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.035/2.035, allocations: 205.1 MB / 222 MB, free: 4.762 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.4259/0.4259, allocations: 39.92 MB / 309.3 MB, free: 9.328 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.001477/0.001477, allocations: 66.41 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1735, allocations: 56.89 MB / 433.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02194/0.1955, allocations: 19.55 MB / 453.4 MB, free: 488 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3493/0.5448, allocations: 4.898 MB / 458.3 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006222/0.5512, allocations: 126.5 kB / 458.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01793/0.5691, allocations: 7.393 MB / 465.8 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01416/0.5833, allocations: 2.115 MB / 467.9 MB, free: 33.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006428/0.5898, allocations: 1.175 MB / 469.1 MB, free: 33.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02246/0.6123, allocations: 12.69 MB / 481.8 MB, free: 27.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05997/0.6723, allocations: 21.87 MB / 0.4918 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/0.6851, allocations: 5.765 MB / 0.4975 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01906/0.7042, allocations: 7.085 MB / 0.5044 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009405/0.7137, allocations: 1.236 MB / 0.5056 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/0.7257, allocations: 1.416 MB / 0.507 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009115/0.7349, allocations: 3.181 MB / 0.5101 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01896/0.7538, allocations: 6.555 MB / 0.5165 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03674/0.7906, allocations: 23.16 MB / 0.5391 GB, free: 12.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.7907, allocations: 4 kB / 0.5391 GB, free: 12.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.7907, allocations: 0 / 0.5391 GB, free: 12.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008864/0.7916, allocations: 0 / 0.5391 GB, free: 12.52 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.06218/0.8538, allocations: 14.8 MB / 0.5535 GB, free: 13.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.109e-05/0.8539, allocations: 8.031 kB / 0.5536 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06762/0.9216, allocations: 12.42 MB / 0.5657 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0186/0.9402, allocations: 6.576 MB / 0.5721 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001075/0.9413, allocations: 0.9072 MB / 0.573 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006502/0.9478, allocations: 1.19 MB / 0.5741 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06615/1.014, allocations: 19.05 MB / 0.5927 GB, free: 5.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007748/1.015, allocations: 15.81 kB / 0.5928 GB, free: 5.664 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006264/1.021, allocations: 0.4944 MB / 0.5932 GB, free: 5.184 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001005/1.022, allocations: 0.6895 MB / 0.5939 GB, free: 4.492 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04675/1.069, allocations: 19.83 MB / 0.6133 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6846/1.754, allocations: 62.2 MB / 0.674 GB, free: 96.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03253/1.786, allocations: 20.19 MB / 0.6938 GB, free: 81.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01068/1.797, allocations: 4.616 MB / 0.6983 GB, free: 80.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/1.798, allocations: 240.2 kB / 0.6985 GB, free: 80.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/1.798, allocations: 115.6 kB / 0.6986 GB, free: 80.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 1.652e-05/1.798, allocations: 0 / 0.6986 GB, free: 80.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.03082/1.829, allocations: 12.54 MB / 0.7108 GB, free: 74.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.501e-05/1.829, allocations: 126.4 kB / 0.711 GB, free: 74.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01988/1.849, allocations: 8.716 MB / 0.7195 GB, free: 70.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00145/1.851, allocations: 135.8 kB / 0.7196 GB, free: 69.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004479/1.855, allocations: 4.607 MB / 0.7241 GB, free: 65.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003694/1.859, allocations: 2.259 MB / 0.7263 GB, free: 63.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007369/1.866, allocations: 1.511 MB / 0.7278 GB, free: 63.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/1.866, allocations: 305.1 kB / 0.7281 GB, free: 62.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01043/1.877, allocations: 4.199 MB / 0.7322 GB, free: 60.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01321/1.89, allocations: 7.229 MB / 0.7392 GB, free: 54.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02139/1.912, allocations: 12.4 MB / 0.7513 GB, free: 41.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00026/1.912, allocations: 28 kB / 0.7514 GB, free: 41.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02895/1.941, allocations: 12.4 MB / 0.7635 GB, free: 28.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/1.941, allocations: 48.94 kB / 0.7635 GB, free: 28.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002428/1.941, allocations: 100 kB / 0.7636 GB, free: 28.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/1.943, allocations: 416.9 kB / 0.764 GB, free: 28.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008234/1.951, allocations: 2.098 MB / 0.7661 GB, free: 25.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005999/1.957, allocations: 8.949 MB / 0.7748 GB, free: 16.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/1.968, allocations: 1.4 MB / 0.7762 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002564/1.971, allocations: 396 kB / 0.7766 GB, free: 14.36 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.01544/1.986, allocations: 4.66 MB / 0.7811 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003569/1.99, allocations: 0.7136 MB / 0.7818 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02548/2.015, allocations: 11.05 MB / 0.7926 GB, free: 13.8 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.221e-05/2.015, allocations: 68 kB / 0.7927 GB, free: 13.73 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.329e-05/2.015, allocations: 4 kB / 0.7927 GB, free: 13.73 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001708/2.016, allocations: 35.81 kB / 0.7927 GB, free: 13.7 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.595/2.611, allocations: 159.2 MB / 0.9482 GB, free: 93.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002418/2.611, allocations: 90.34 kB / 0.9482 GB, free: 92.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005917/2.617, allocations: 1.575 MB / 0.9498 GB, free: 91.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/2.618, allocations: 380.6 kB / 0.9501 GB, free: 91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00123/2.619, allocations: 252 kB / 0.9504 GB, free: 90.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005721/2.625, allocations: 8.8 MB / 0.959 GB, free: 81.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.275e-05/2.625, allocations: 143.4 kB / 0.9591 GB, free: 81.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02572/2.651, allocations: 18.84 MB / 0.9775 GB, free: 60.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00633/2.657, allocations: 2.036 MB / 0.9795 GB, free: 58.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003662/2.661, allocations: 252 kB / 0.9797 GB, free: 58.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007579/2.668, allocations: 0.558 MB / 0.9803 GB, free: 57.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001586/2.67, allocations: 0.7458 MB / 0.981 GB, free: 57.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008917/2.671, allocations: 317.2 kB / 0.9813 GB, free: 56.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01265/2.684, allocations: 6.121 MB / 0.9873 GB, free: 50.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.31e-07/2.684, allocations: 0 / 0.9873 GB, free: 50.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01427/2.698, allocations: 2.679 MB / 0.9899 GB, free: 47.96 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.plug_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 (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.002872/2.701, allocations: 0.497 MB / 0.9904 GB, free: 47.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02062/2.721, allocations: 10.61 MB / 1.001 GB, free: 36.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 0.0001134/2.722, allocations: 16 kB / 1.001 GB, free: 36.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01167/2.733, allocations: 5.512 MB / 1.006 GB, free: 31.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0212/2.755, allocations: 1.482 MB / 1.008 GB, free: 29.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4016/3.156, allocations: 29.58 MB / 1.036 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01858/3.175, allocations: 7.88 MB / 1.044 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01358/3.189, allocations: 3.661 MB / 1.048 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003907/3.192, allocations: 0.5995 MB / 1.048 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of SimCode: time 2.896e-06/3.192, allocations: 0 / 1.048 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1928/3.385, allocations: 101.5 MB / 1.148 GB, free: 82.79 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1)