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.008488/0.008488, allocations: 104.1 kB / 15.73 MB, free: 6.469 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.002197/0.002198, allocations: 191.8 kB / 16.67 MB, free: 6.379 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.727/1.727, allocations: 205.1 MB / 222.5 MB, free: 4.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.4432/0.4432, allocations: 39.95 MB / 309.9 MB, free: 9.383 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.001684/0.001684, allocations: 67.91 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4286, allocations: 56.87 MB / 492.6 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008933/0.4376, allocations: 6.928 MB / 499.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00573/0.4434, allocations: 2.194 MB / 0.49 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.4448, allocations: 20.44 kB / 0.49 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00356/0.4483, allocations: 1.529 MB / 0.4915 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.4511, allocations: 0.8533 MB / 0.4924 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.4527, allocations: 0.5792 MB / 0.4929 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002285/0.455, allocations: 1.19 MB / 0.4941 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.4566, allocations: 0.8152 MB / 0.4949 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008867/0.4575, allocations: 489.4 kB / 0.4953 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007119/0.4582, allocations: 0.6119 MB / 0.4959 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.4583, allocations: 97 kB / 0.496 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008898/0.4592, allocations: 284.1 kB / 0.4963 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.4595, allocations: 256.5 kB / 0.4966 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005181/0.46, allocations: 0.5724 MB / 0.4971 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.462, allocations: 1.47 MB / 0.4985 GB, free: 7.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.121e-05/0.462, allocations: 4 kB / 0.4986 GB, free: 7.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4621, allocations: 0 / 0.4986 GB, free: 7.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.4621, allocations: 0 / 0.4986 GB, free: 7.91 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.004186/0.4663, allocations: 1.707 MB / 0.5002 GB, free: 6.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.4663, allocations: 13.73 kB / 0.5002 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009966/0.4763, allocations: 1.423 MB / 0.5016 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.4779, allocations: 0.5536 MB / 0.5022 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.235e-05/0.478, allocations: 92.61 kB / 0.5022 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.4783, allocations: 124.8 kB / 0.5024 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.4808, allocations: 1.185 MB / 0.5035 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.4808, allocations: 6.797 kB / 0.5035 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.4809, allocations: 50.69 kB / 0.5036 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.481, allocations: 33.5 kB / 0.5036 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.4836, allocations: 1.434 MB / 0.505 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007909/0.4915, allocations: 4.809 MB / 0.5097 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.4938, allocations: 1.189 MB / 0.5109 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007058/0.4945, allocations: 376.5 kB / 0.5112 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.4947, allocations: 99.75 kB / 0.5113 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/0.4947, allocations: 47.69 kB / 0.5114 GB, free: 15.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 3.497e-06/0.4947, allocations: 0 / 0.5114 GB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=91): time 0.002841/0.4976, allocations: 1.201 MB / 0.5125 GB, free: 14.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.4977, allocations: 65.59 kB / 0.5126 GB, free: 14.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.499, allocations: 0.8004 MB / 0.5134 GB, free: 13.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.53e-05/0.4991, allocations: 40.86 kB / 0.5134 GB, free: 13.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/0.4994, allocations: 483.5 kB / 0.5139 GB, free: 13.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/0.4998, allocations: 309.6 kB / 0.5142 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/0.5001, allocations: 197.4 kB / 0.5144 GB, free: 12.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002506/0.5004, allocations: 398.9 kB / 0.5148 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.5011, allocations: 347.3 kB / 0.5151 GB, free: 12.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.5021, allocations: 0.604 MB / 0.5157 GB, free: 11.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.5039, allocations: 0.9736 MB / 0.5166 GB, free: 11.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.5039, allocations: 4 kB / 0.5166 GB, free: 11.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002059/0.5059, allocations: 1.178 MB / 0.5178 GB, free: 9.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.506, allocations: 8 kB / 0.5178 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.506, allocations: 8 kB / 0.5178 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003411/0.5063, allocations: 61.67 kB / 0.5179 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.5074, allocations: 267.8 kB / 0.5181 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.5095, allocations: 2.832 MB / 0.5209 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.5107, allocations: 146.3 kB / 0.521 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-05/0.5108, allocations: 47.98 kB / 0.5211 GB, free: 6.262 MB / 398.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.0004925/0.5113, allocations: 261.5 kB / 0.5213 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.5115, allocations: 90.88 kB / 0.5214 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.5134, allocations: 1.099 MB / 0.5225 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.5134, allocations: 12 kB / 0.5225 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5134, allocations: 3.984 kB / 0.5225 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.5134, allocations: 11.86 kB / 0.5225 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003711/0.5171, allocations: 2.722 MB / 0.5252 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.5172, allocations: 8 kB / 0.5252 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007108/0.5179, allocations: 175.8 kB / 0.5253 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/0.5181, allocations: 66.36 kB / 0.5254 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/0.5182, allocations: 31.98 kB / 0.5254 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.5206, allocations: 2.816 MB / 0.5282 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.5206, allocations: 11.94 kB / 0.5282 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.5229, allocations: 1.485 MB / 0.5296 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.5232, allocations: 199.8 kB / 0.5298 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.5234, allocations: 24 kB / 0.5298 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.524, allocations: 51.97 kB / 0.5299 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.5242, allocations: 80.5 kB / 0.53 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/0.5242, allocations: 35.98 kB / 0.53 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007373/0.525, allocations: 0.5615 MB / 0.5306 GB, free: 11.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.525, allocations: 0 / 0.5306 GB, free: 11.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001046/0.526, allocations: 299.4 kB / 0.5308 GB, free: 11.57 MB / 414.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.0003169/0.5264, allocations: 166.9 kB / 0.531 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.5283, allocations: 1.099 MB / 0.5321 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5283, allocations: 4 kB / 0.5321 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009223/0.5292, allocations: 0.6228 MB / 0.5327 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/0.53, allocations: 128.7 kB / 0.5328 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.5334, allocations: 1.822 MB / 0.5346 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.534, allocations: 0.9962 MB / 0.5356 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005751/0.5346, allocations: 147.6 kB / 0.5357 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.5348, allocations: 83.42 kB / 0.5358 GB, free: 6.32 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5348, allocations: 4 kB / 0.5358 GB, free: 6.316 MB / 414.1 MB Notification: Performance of Templates: time 0.02047/0.5553, allocations: 10.81 MB / 0.5463 GB, free: 11.52 MB / 430.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)