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.00113/0.00113, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001141/0.001141, allocations: 199.8 kB / 16.14 MB, free: 6.797 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.412/1.412, allocations: 205.1 MB / 222 MB, free: 4.766 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.001204/0.001203, allocations: 47.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2305, allocations: 46.63 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01468/0.2453, allocations: 14.37 MB / 339.1 MB, free: 5.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008319/0.2536, allocations: 3.934 MB / 343 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002706/0.2564, allocations: 83.75 kB / 343.1 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.267, allocations: 5.312 MB / 348.4 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.2723, allocations: 1.583 MB / 350 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.275, allocations: 1.025 MB / 351 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007806/0.2828, allocations: 6.671 MB / 357.7 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01455/0.2974, allocations: 11.55 MB / 369.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003962/0.3014, allocations: 3.158 MB / 372.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005275/0.3067, allocations: 4.021 MB / 376.4 MB, free: 192 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001481/0.3082, allocations: 0.6954 MB / 377.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.3106, allocations: 0.8787 MB / 378 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.312, allocations: 1.702 MB / 379.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003949/0.3159, allocations: 3.555 MB / 383.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009121/0.3251, allocations: 12.15 MB / 395.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3251, allocations: 0 / 395.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3251, allocations: 4 kB / 395.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002083/0.3253, allocations: 0 / 395.4 MB, free: 13.14 MB / 334.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.0203/0.3456, allocations: 8.338 MB / 403.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3457, allocations: 8.031 kB / 403.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03059/0.3763, allocations: 5.072 MB / 408.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008208/0.3845, allocations: 3.535 MB / 412.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006402/0.3852, allocations: 0.5096 MB / 412.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003092/0.3883, allocations: 0.6717 MB / 413.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02644/0.4148, allocations: 10.48 MB / 424 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004368/0.4153, allocations: 7.906 kB / 424 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003171/0.4184, allocations: 287.9 kB / 424.3 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004299/0.4189, allocations: 398.5 kB / 424.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02024/0.4391, allocations: 9.626 MB / 434.3 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2602/0.6994, allocations: 31.86 MB / 466.1 MB, free: 91.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/0.7153, allocations: 22.91 MB / 489.1 MB, free: 70.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00273/0.7181, allocations: 1.948 MB / 491 MB, free: 70.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.7286, allocations: 6.242 MB / 497.2 MB, free: 66.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.7287, allocations: 51.53 kB / 497.3 MB, free: 66.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 3.968e-06/0.7287, allocations: 0 / 497.3 MB, free: 66.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.005613/0.7343, allocations: 3.177 MB / 0.4887 GB, free: 64.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7344, allocations: 93.73 kB / 0.4888 GB, free: 64.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00456/0.7389, allocations: 2.618 MB / 0.4914 GB, free: 63.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.7391, allocations: 52.14 kB / 0.4914 GB, free: 63.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.7405, allocations: 3.108 MB / 0.4945 GB, free: 60.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004642/0.741, allocations: 0.5532 MB / 0.495 GB, free: 59.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/0.7424, allocations: 0.8022 MB / 0.4958 GB, free: 59.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.7425, allocations: 301.1 kB / 0.4961 GB, free: 59.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.7446, allocations: 1.469 MB / 0.4975 GB, free: 58.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/0.7473, allocations: 3.262 MB / 0.5007 GB, free: 54.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004307/0.7516, allocations: 4.824 MB / 0.5054 GB, free: 48.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.176e-05/0.7517, allocations: 16 kB / 0.5054 GB, free: 48.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006873/0.7586, allocations: 5.098 MB / 0.5104 GB, free: 43.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/0.7587, allocations: 32 kB / 0.5104 GB, free: 43.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-05/0.7588, allocations: 60 kB / 0.5105 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008074/0.7596, allocations: 336.7 kB / 0.5108 GB, free: 43.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/0.7623, allocations: 0.8813 MB / 0.5117 GB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/0.7664, allocations: 4.638 MB / 0.5162 GB, free: 37.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003221/0.7696, allocations: 0.5378 MB / 0.5167 GB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004833/0.7701, allocations: 212 kB / 0.5169 GB, free: 36.81 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.004254/0.7744, allocations: 2.331 MB / 0.5192 GB, free: 34.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006792/0.7751, allocations: 221.2 kB / 0.5194 GB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003894/0.779, allocations: 2.32 MB / 0.5217 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.779, allocations: 23.88 kB / 0.5217 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/0.7791, allocations: 4 kB / 0.5217 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.7791, allocations: 11.97 kB / 0.5217 GB, free: 31.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.7894, allocations: 5.334 MB / 0.5269 GB, free: 26.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.7895, allocations: 4 kB / 0.5269 GB, free: 26.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.7906, allocations: 257.3 kB / 0.5272 GB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006176/0.7913, allocations: 249.6 kB / 0.5274 GB, free: 25.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/0.7914, allocations: 35.98 kB / 0.5275 GB, free: 25.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003902/0.7953, allocations: 4.527 MB / 0.5319 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7954, allocations: 0 / 0.5319 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/0.7996, allocations: 3.309 MB / 0.5351 GB, free: 17.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.8007, allocations: 465.8 kB / 0.5356 GB, free: 17.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000603/0.8013, allocations: 28 kB / 0.5356 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/0.8027, allocations: 99.95 kB / 0.5357 GB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/0.8029, allocations: 101.3 kB / 0.5358 GB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.856e-05/0.803, allocations: 43.98 kB / 0.5358 GB, free: 17.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003097/0.8061, allocations: 1.722 MB / 0.5375 GB, free: 15.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8061, allocations: 0 / 0.5375 GB, free: 15.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005257/0.8114, allocations: 1.527 MB / 0.539 GB, free: 13.81 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.0004232/0.8119, allocations: 163.8 kB / 0.5391 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005179/0.817, allocations: 3.508 MB / 0.5426 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.8171, allocations: 3.828 kB / 0.5426 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.8187, allocations: 1.265 MB / 0.5438 GB, free: 8.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.8217, allocations: 464.5 kB / 0.5443 GB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/0.8424, allocations: 12.74 MB / 0.5567 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006889/0.8493, allocations: 4.186 MB / 0.5608 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00406/0.8534, allocations: 1.291 MB / 0.562 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007259/0.8542, allocations: 183.4 kB / 0.5622 GB, free: 5.922 MB / 398.1 MB Notification: Performance of SimCode: time 1.232e-06/0.8542, allocations: 0 / 0.5622 GB, free: 5.922 MB / 398.1 MB Notification: Performance of Templates: time 0.05485/0.9091, allocations: 29.73 MB / 0.5913 GB, free: 8.191 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)