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.001415/0.001414, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001924/0.001923, allocations: 172.7 kB / 15.95 MB, free: 208 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.886/1.886, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.4572/0.4572, allocations: 40 MB / 310.4 MB, free: 9.645 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.0006811/0.0006812, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1605, allocations: 57.95 MB / 436.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02077/0.1813, allocations: 17.2 MB / 454 MB, free: 1.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3418/0.5232, allocations: 4.553 MB / 458.5 MB, free: 33.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005026/0.5283, allocations: 125.4 kB / 458.7 MB, free: 33.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.532, allocations: 0.8932 MB / 459.6 MB, free: 33.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00918/0.5412, allocations: 1.98 MB / 461.5 MB, free: 33.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.5451, allocations: 0.9556 MB / 462.5 MB, free: 33.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01718/0.5623, allocations: 11.79 MB / 474.3 MB, free: 30.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05108/0.6134, allocations: 21.36 MB / 495.6 MB, free: 24.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01836/0.6319, allocations: 4.601 MB / 0.4885 GB, free: 22.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0207/0.6526, allocations: 5.296 MB / 0.4937 GB, free: 20.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007926/0.6606, allocations: 0.6859 MB / 0.4944 GB, free: 20.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01369/0.6744, allocations: 0.8671 MB / 0.4952 GB, free: 20.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01062/0.6851, allocations: 2.344 MB / 0.4975 GB, free: 19.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01138/0.6965, allocations: 2.365 MB / 0.4998 GB, free: 17.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02791/0.7245, allocations: 19.84 MB / 0.5192 GB, free: 3.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.7246, allocations: 4 kB / 0.5192 GB, free: 3.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.779e-06/0.7246, allocations: 0 / 0.5192 GB, free: 3.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001153/0.7257, allocations: 0 / 0.5192 GB, free: 3.824 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.04181/0.7676, allocations: 12.16 MB / 0.5311 GB, free: 7.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.7676, allocations: 8.031 kB / 0.5311 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06353/0.8312, allocations: 12.48 MB / 0.5433 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01811/0.8493, allocations: 6.492 MB / 0.5496 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001413/0.8508, allocations: 0.9066 MB / 0.5505 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006181/0.857, allocations: 1.189 MB / 0.5516 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06712/0.9241, allocations: 18.96 MB / 0.5702 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001024/0.9252, allocations: 15.81 kB / 0.5702 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006859/0.9321, allocations: 0.4948 MB / 0.5707 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001076/0.9332, allocations: 0.6856 MB / 0.5713 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05787/0.9911, allocations: 19.74 MB / 0.5906 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7603/1.751, allocations: 62.36 MB / 0.6515 GB, free: 94.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02218/1.774, allocations: 20.13 MB / 0.6712 GB, free: 84.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01061/1.784, allocations: 4.608 MB / 0.6757 GB, free: 84.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000911/1.785, allocations: 241.2 kB / 0.6759 GB, free: 83.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/1.786, allocations: 110.5 kB / 0.676 GB, free: 83.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 1.129e-05/1.786, allocations: 1.062 kB / 0.676 GB, free: 83.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.02471/1.81, allocations: 12.51 MB / 0.6882 GB, free: 79.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.81, allocations: 119.1 kB / 0.6883 GB, free: 79.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0161/1.827, allocations: 8.669 MB / 0.6968 GB, free: 76.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001459/1.828, allocations: 137.3 kB / 0.6969 GB, free: 76.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003707/1.832, allocations: 4.605 MB / 0.7014 GB, free: 72.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002909/1.835, allocations: 2.257 MB / 0.7036 GB, free: 71.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006854/1.835, allocations: 162.9 kB / 0.7038 GB, free: 71.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00048/1.836, allocations: 0.6315 MB / 0.7044 GB, free: 70.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0082/1.844, allocations: 4.169 MB / 0.7085 GB, free: 69.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009087/1.853, allocations: 7.207 MB / 0.7155 GB, free: 63.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008393/1.862, allocations: 5.728 MB / 0.7211 GB, free: 61.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000129/1.862, allocations: 26.38 kB / 0.7211 GB, free: 61.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02451/1.886, allocations: 12.34 MB / 0.7332 GB, free: 55.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/1.887, allocations: 47.22 kB / 0.7332 GB, free: 55.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002448/1.887, allocations: 102.4 kB / 0.7333 GB, free: 55.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/1.888, allocations: 435.4 kB / 0.7337 GB, free: 55.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007727/1.896, allocations: 2.09 MB / 0.7358 GB, free: 54.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006217/1.902, allocations: 8.944 MB / 0.7445 GB, free: 46.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/1.912, allocations: 1.405 MB / 0.7459 GB, free: 45.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002365/1.915, allocations: 395.5 kB / 0.7463 GB, free: 45.23 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 (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.01491/1.929, allocations: 4.657 MB / 0.7508 GB, free: 42.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002711/1.932, allocations: 0.717 MB / 0.7515 GB, free: 41.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0268/1.959, allocations: 11.05 MB / 0.7623 GB, free: 30.51 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.408e-05/1.959, allocations: 72 kB / 0.7624 GB, free: 30.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-05/1.959, allocations: 0 / 0.7624 GB, free: 30.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001768/1.959, allocations: 35.86 kB / 0.7624 GB, free: 30.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6691/2.628, allocations: 159.2 MB / 0.9178 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006383/2.629, allocations: 88 kB / 0.9179 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01009/2.639, allocations: 1.575 MB / 0.9194 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/2.641, allocations: 396.8 kB / 0.9198 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002275/2.643, allocations: 252 kB / 0.9201 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006703/2.65, allocations: 8.8 MB / 0.9286 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001203/2.65, allocations: 136.5 kB / 0.9288 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0332/2.683, allocations: 18.8 MB / 0.9471 GB, free: 91.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00783/2.691, allocations: 2.054 MB / 0.9491 GB, free: 90 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004139/2.695, allocations: 251.9 kB / 0.9494 GB, free: 89.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008534/2.704, allocations: 0.5658 MB / 0.9499 GB, free: 89.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002664/2.706, allocations: 0.7384 MB / 0.9507 GB, free: 88.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001896/2.708, allocations: 312 kB / 0.9509 GB, free: 88.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0146/2.723, allocations: 6.066 MB / 0.9569 GB, free: 82.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.8e-07/2.723, allocations: 0 / 0.9569 GB, free: 82.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01704/2.74, allocations: 2.675 MB / 0.9595 GB, free: 79.41 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.00385/2.744, allocations: 0.4927 MB / 0.96 GB, free: 78.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02075/2.765, allocations: 10.56 MB / 0.9703 GB, free: 68.26 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.394e-05/2.765, allocations: 16.06 kB / 0.9703 GB, free: 68.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01055/2.775, allocations: 5.498 MB / 0.9757 GB, free: 62.69 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01636/2.792, allocations: 1.495 MB / 0.9771 GB, free: 61.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0575/2.849, allocations: 28.5 MB / 1.005 GB, free: 31.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01376/2.863, allocations: 7.883 MB / 1.013 GB, free: 23.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01215/2.875, allocations: 3.657 MB / 1.016 GB, free: 19.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003751/2.879, allocations: 0.597 MB / 1.017 GB, free: 19.29 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/2.879, allocations: 0 / 1.017 GB, free: 19.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.4756/3.355, allocations: 97.27 MB / 1.112 GB, free: 115.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: