Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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) 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(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009035/0.009035, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.438/1.438, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.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: Performance of FrontEnd - loaded program: time 0.000484/0.000484, allocations: 8 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.226, allocations: 47.58 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01304/0.2391, allocations: 13.58 MB / 340.6 MB, free: 5.758 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008383/0.2475, allocations: 3.883 MB / 344.5 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.2508, allocations: 83.75 kB / 344.6 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002628/0.2534, allocations: 0.8204 MB / 345.4 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005945/0.2594, allocations: 1.571 MB / 347 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.2629, allocations: 1.01 MB / 348 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009526/0.2724, allocations: 6.667 MB / 354.6 MB, free: 7.672 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02656/0.299, allocations: 14.23 MB / 368.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003901/0.303, allocations: 2.506 MB / 371.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005077/0.3081, allocations: 3.182 MB / 374.6 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002285/0.3104, allocations: 400 kB / 375 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003706/0.3141, allocations: 0.5662 MB / 375.5 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00215/0.3163, allocations: 1.257 MB / 376.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005372/0.3216, allocations: 3.064 MB / 379.8 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.335, allocations: 11.64 MB / 391.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3351, allocations: 3.938 kB / 391.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3351, allocations: 0 / 391.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003961/0.3355, allocations: 8 kB / 391.5 MB, free: 2.617 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02056/0.3561, allocations: 6.901 MB / 398.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.3561, allocations: 12.03 kB / 398.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03271/0.3889, allocations: 5.092 MB / 403.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008062/0.397, allocations: 3.562 MB / 407.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005991/0.3976, allocations: 0.5135 MB / 407.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002562/0.4002, allocations: 0.6678 MB / 408.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02835/0.4285, allocations: 10.47 MB / 418.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003562/0.4289, allocations: 11.91 kB / 418.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002151/0.4311, allocations: 287.9 kB / 419 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005254/0.4317, allocations: 386.6 kB / 419.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.4518, allocations: 9.645 MB / 429 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2219/0.6737, allocations: 31.96 MB / 461 MB, free: 91.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01494/0.6887, allocations: 22.89 MB / 483.9 MB, free: 70.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.6913, allocations: 1.932 MB / 485.8 MB, free: 70.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007767/0.6991, allocations: 6.236 MB / 492 MB, free: 68.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.6992, allocations: 56.72 kB / 492.1 MB, free: 68.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 2.945e-06/0.6992, allocations: 0 / 492.1 MB, free: 68.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.005228/0.7044, allocations: 3.201 MB / 495.3 MB, free: 67.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.7045, allocations: 93.55 kB / 495.4 MB, free: 67.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/0.7074, allocations: 2.617 MB / 498 MB, free: 66.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-05/0.7075, allocations: 48.86 kB / 498.1 MB, free: 66.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.7087, allocations: 3.122 MB / 0.4894 GB, free: 64.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.709, allocations: 0.5472 MB / 0.49 GB, free: 63.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003271/0.7094, allocations: 310.6 kB / 0.4903 GB, free: 63.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.075e-05/0.7094, allocations: 305 kB / 0.4906 GB, free: 63.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.7111, allocations: 1.465 MB / 0.492 GB, free: 62.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.7135, allocations: 3.258 MB / 0.4952 GB, free: 59.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004141/0.7176, allocations: 4.819 MB / 0.4999 GB, free: 55.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.697e-05/0.7177, allocations: 18.12 kB / 0.4999 GB, free: 55.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006407/0.7241, allocations: 5.097 MB / 0.5049 GB, free: 50.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.7241, allocations: 32 kB / 0.5049 GB, free: 50.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.246e-05/0.7242, allocations: 60 kB / 0.505 GB, free: 50.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006628/0.7249, allocations: 340.2 kB / 0.5053 GB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.7274, allocations: 0.8813 MB / 0.5061 GB, free: 49.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/0.7311, allocations: 4.642 MB / 0.5107 GB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/0.734, allocations: 0.5262 MB / 0.5112 GB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/0.7343, allocations: 216 kB / 0.5114 GB, free: 43.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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 {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002972/0.7373, allocations: 2.331 MB / 0.5137 GB, free: 41.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.7376, allocations: 221.2 kB / 0.5139 GB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.7409, allocations: 2.336 MB / 0.5162 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.7409, allocations: 16 kB / 0.5162 GB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.741, allocations: 4 kB / 0.5162 GB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.741, allocations: 7.969 kB / 0.5162 GB, free: 38.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007489/0.7485, allocations: 5.343 MB / 0.5214 GB, free: 33.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.7485, allocations: 1.688 kB / 0.5214 GB, free: 33.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.7496, allocations: 255.7 kB / 0.5217 GB, free: 33.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005822/0.7502, allocations: 249.6 kB / 0.5219 GB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-05/0.7503, allocations: 39.92 kB / 0.5219 GB, free: 32.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003643/0.754, allocations: 4.531 MB / 0.5264 GB, free: 27.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.754, allocations: 0 / 0.5264 GB, free: 27.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003889/0.7579, allocations: 3.305 MB / 0.5296 GB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008729/0.7588, allocations: 497.8 kB / 0.5301 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.759, allocations: 27.98 kB / 0.5301 GB, free: 24.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.7601, allocations: 95.91 kB / 0.5302 GB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.7603, allocations: 109.2 kB / 0.5303 GB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.301e-05/0.7604, allocations: 48 kB / 0.5303 GB, free: 23.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001955/0.7623, allocations: 1.714 MB / 0.532 GB, free: 22.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7623, allocations: 0 / 0.532 GB, free: 22.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003661/0.766, allocations: 1.527 MB / 0.5335 GB, free: 20.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003166/0.7663, allocations: 177.5 kB / 0.5337 GB, free: 20.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004507/0.7708, allocations: 3.509 MB / 0.5371 GB, free: 16.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.7709, allocations: 0 / 0.5371 GB, free: 16.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.7723, allocations: 1.266 MB / 0.5383 GB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.775, allocations: 460.6 kB / 0.5388 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/0.7907, allocations: 12.81 MB / 0.5513 GB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00416/0.7949, allocations: 4.182 MB / 0.5553 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003778/0.7987, allocations: 1.291 MB / 0.5566 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/0.7992, allocations: 183.4 kB / 0.5568 GB, free: 12.59 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.7992, allocations: 4 kB / 0.5568 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Templates: time 0.05389/0.8531, allocations: 29.42 MB / 0.5855 GB, free: 15.18 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1)