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.0009583/0.0009583, allocations: 100 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.2774/0.2774, allocations: 39.99 MB / 310.4 MB, free: 10.04 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.0004918/0.0004919, allocations: 15.98 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.0962, allocations: 57.95 MB / 436.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01472/0.111, allocations: 15.94 MB / 452.7 MB, free: 2.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1768/0.2878, allocations: 4.736 MB / 457.4 MB, free: 33.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.2906, allocations: 125.9 kB / 457.6 MB, free: 33.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.2931, allocations: 0.9623 MB / 458.5 MB, free: 33.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005931/0.299, allocations: 1.877 MB / 460.4 MB, free: 33.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.3018, allocations: 0.9416 MB / 461.3 MB, free: 33.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009527/0.3114, allocations: 7.891 MB / 469.2 MB, free: 33.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03012/0.3415, allocations: 21.13 MB / 490.4 MB, free: 28.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007059/0.3486, allocations: 4.164 MB / 494.5 MB, free: 26.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009453/0.3581, allocations: 4.738 MB / 499.3 MB, free: 24.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003707/0.3619, allocations: 0.6843 MB / 499.9 MB, free: 24.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006493/0.3684, allocations: 0.8382 MB / 0.489 GB, free: 23.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003055/0.3715, allocations: 2.263 MB / 0.4913 GB, free: 22.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005045/0.3766, allocations: 2.36 MB / 0.4936 GB, free: 21.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02063/0.3972, allocations: 19.8 MB / 0.5129 GB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3973, allocations: 0 / 0.5129 GB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3973, allocations: 0 / 0.5129 GB, free: 10.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008028/0.3981, allocations: 2.75 kB / 0.5129 GB, free: 10.19 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: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.03222/0.4303, allocations: 12.16 MB / 0.5248 GB, free: 14.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4304, allocations: 8.031 kB / 0.5248 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06248/0.4929, allocations: 12.48 MB / 0.537 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01626/0.5092, allocations: 6.664 MB / 0.5435 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/0.5102, allocations: 0.9071 MB / 0.5444 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004602/0.5148, allocations: 1.183 MB / 0.5455 GB, free: 9.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04522/0.5601, allocations: 18.84 MB / 0.5639 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005542/0.5607, allocations: 20.67 kB / 0.5639 GB, free: 6.457 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003653/0.5643, allocations: 0.4921 MB / 0.5644 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007598/0.5651, allocations: 0.6895 MB / 0.5651 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04039/0.6055, allocations: 19.72 MB / 0.5844 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3102/0.9158, allocations: 62.11 MB / 0.645 GB, free: 102.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01953/0.9354, allocations: 20.08 MB / 0.6646 GB, free: 91.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007326/0.9362, allocations: 240.4 kB / 0.6648 GB, free: 91.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.223e-05/0.9362, allocations: 107.3 kB / 0.6649 GB, free: 91.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 8.106e-06/0.9363, allocations: 6.312 kB / 0.6649 GB, free: 91.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.02012/0.9564, allocations: 12.4 MB / 0.6771 GB, free: 90.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.9565, allocations: 118.6 kB / 0.6772 GB, free: 89.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/0.9689, allocations: 8.597 MB / 0.6856 GB, free: 87.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001071/0.97, allocations: 134.2 kB / 0.6857 GB, free: 87.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003105/0.9731, allocations: 4.612 MB / 0.6902 GB, free: 83.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002102/0.9753, allocations: 2.256 MB / 0.6924 GB, free: 81.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005595/0.9758, allocations: 160.3 kB / 0.6926 GB, free: 81.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00038/0.9762, allocations: 0.6391 MB / 0.6932 GB, free: 81.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006024/0.9823, allocations: 4.151 MB / 0.6972 GB, free: 79.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006792/0.9891, allocations: 7.189 MB / 0.7042 GB, free: 74.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007588/0.9967, allocations: 5.722 MB / 0.7098 GB, free: 72.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.038e-05/0.9968, allocations: 28.06 kB / 0.7099 GB, free: 72.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=1034) (initialization): time 0.01754/1.014, allocations: 12.31 MB / 0.7219 GB, free: 67.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8e-05/1.014, allocations: 46.84 kB / 0.7219 GB, free: 67.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/1.015, allocations: 100.8 kB / 0.722 GB, free: 67.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000813/1.015, allocations: 414.2 kB / 0.7224 GB, free: 67.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006944/1.022, allocations: 2.104 MB / 0.7245 GB, free: 67.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004612/1.027, allocations: 8.805 MB / 0.7331 GB, free: 58.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007376/1.034, allocations: 1.388 MB / 0.7344 GB, free: 57.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/1.036, allocations: 399 kB / 0.7348 GB, free: 57.52 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 457 * 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 (1028): * Single equations (assignments): 1022 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009925/1.046, allocations: 4.67 MB / 0.7394 GB, free: 54.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/1.047, allocations: 0.7119 MB / 0.7401 GB, free: 54.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/1.062, allocations: 10.99 MB / 0.7508 GB, free: 44.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.081e-05/1.063, allocations: 68 kB / 0.7509 GB, free: 44.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/1.063, allocations: 7.766 kB / 0.7509 GB, free: 44.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.392e-05/1.063, allocations: 31.88 kB / 0.7509 GB, free: 44.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3575/1.42, allocations: 158.4 MB / 0.9056 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002811/1.42, allocations: 88.03 kB / 0.9057 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005943/1.426, allocations: 1.569 MB / 0.9072 GB, free: 138 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/1.428, allocations: 374.9 kB / 0.9076 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001482/1.429, allocations: 249.9 kB / 0.9078 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004516/1.434, allocations: 8.694 MB / 0.9163 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.978e-05/1.434, allocations: 142.3 kB / 0.9164 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02241/1.456, allocations: 34.5 MB / 0.9501 GB, free: 91.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006289/1.462, allocations: 2.041 MB / 0.9521 GB, free: 89.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002843/1.465, allocations: 251.9 kB / 0.9524 GB, free: 89.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006611/1.472, allocations: 0.5581 MB / 0.9529 GB, free: 88.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001892/1.474, allocations: 0.7381 MB / 0.9536 GB, free: 87.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009958/1.475, allocations: 320 kB / 0.9539 GB, free: 87.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01037/1.485, allocations: 6.007 MB / 0.9598 GB, free: 81.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.21e-07/1.485, allocations: 0 / 0.9598 GB, free: 81.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01111/1.496, allocations: 2.673 MB / 0.9624 GB, free: 78.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00197/1.498, allocations: 0.4895 MB / 0.9629 GB, free: 78.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01514/1.514, allocations: 10.51 MB / 0.9732 GB, free: 67.76 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-05/1.514, allocations: 12 kB / 0.9732 GB, free: 67.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007631/1.521, allocations: 5.469 MB / 0.9785 GB, free: 62.22 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008293/1.53, allocations: 1.368 MB / 0.9799 GB, free: 60.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04297/1.573, allocations: 28.38 MB / 1.008 GB, free: 31.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/1.584, allocations: 8.067 MB / 1.015 GB, free: 23.14 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01036/1.594, allocations: 3.657 MB / 1.019 GB, free: 19.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002987/1.597, allocations: 0.597 MB / 1.02 GB, free: 18.88 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/1.597, allocations: 0 / 1.02 GB, free: 18.88 MB / 0.5294 GB Notification: Performance of Templates: time 0.329/1.926, allocations: 96.46 MB / 1.114 GB, free: 125.5 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: