Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001164/0.001164, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.37/1.37, allocations: 205.1 MB / 222 MB, free: 5 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.001146/0.001146, allocations: 47.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2042, allocations: 46.63 MB / 324.7 MB, free: 1.82 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01511/0.2193, allocations: 14.38 MB / 339.1 MB, free: 5.742 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008362/0.2277, allocations: 3.922 MB / 343 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.2299, allocations: 79.81 kB / 343.1 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01065/0.2406, allocations: 5.324 MB / 348.4 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006022/0.2466, allocations: 1.571 MB / 350 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.2495, allocations: 1.025 MB / 351 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00779/0.2573, allocations: 6.671 MB / 357.7 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01576/0.273, allocations: 11.56 MB / 369.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004744/0.2778, allocations: 3.147 MB / 372.4 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005709/0.2836, allocations: 4.025 MB / 376.4 MB, free: 212 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002153/0.2857, allocations: 0.6954 MB / 377.1 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.2886, allocations: 0.8825 MB / 378 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.2902, allocations: 1.694 MB / 379.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005116/0.2953, allocations: 3.566 MB / 383.2 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.3061, allocations: 12.14 MB / 395.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3061, allocations: 0 / 395.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.3061, allocations: 3.938 kB / 395.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003235/0.3064, allocations: 0 / 395.4 MB, free: 13.17 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.02065/0.3271, allocations: 8.338 MB / 403.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3271, allocations: 8.031 kB / 403.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03113/0.3583, allocations: 5.072 MB / 408.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008018/0.3663, allocations: 3.535 MB / 412.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004728/0.3669, allocations: 0.5097 MB / 412.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002593/0.3695, allocations: 0.6678 MB / 413.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/0.391, allocations: 10.48 MB / 424 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001479/0.3912, allocations: 11.91 kB / 424 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000896/0.3921, allocations: 279.9 kB / 424.3 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003978/0.3925, allocations: 390.6 kB / 424.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01856/0.4111, allocations: 9.633 MB / 434.3 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2553/0.6664, allocations: 31.86 MB / 466.1 MB, free: 91.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01353/0.68, allocations: 22.91 MB / 489.1 MB, free: 70.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002699/0.6828, allocations: 1.934 MB / 491 MB, free: 70.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008244/0.691, allocations: 6.25 MB / 497.2 MB, free: 66.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.6911, allocations: 55.38 kB / 497.3 MB, free: 66.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 4.769e-06/0.6911, allocations: 3.984 kB / 497.3 MB, free: 66.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.006058/0.6972, allocations: 3.17 MB / 0.4887 GB, free: 64.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.6972, allocations: 101.5 kB / 0.4888 GB, free: 64.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.7004, allocations: 2.616 MB / 0.4914 GB, free: 63.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.016e-05/0.7005, allocations: 52.83 kB / 0.4914 GB, free: 63.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.7018, allocations: 3.106 MB / 0.4945 GB, free: 60.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.7021, allocations: 0.5585 MB / 0.495 GB, free: 59.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009096/0.703, allocations: 0.801 MB / 0.4958 GB, free: 59.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.7031, allocations: 305.1 kB / 0.4961 GB, free: 59.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.7049, allocations: 1.464 MB / 0.4975 GB, free: 58.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/0.7077, allocations: 3.262 MB / 0.5007 GB, free: 54.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004153/0.7119, allocations: 4.828 MB / 0.5054 GB, free: 48.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-05/0.7119, allocations: 16 kB / 0.5054 GB, free: 48.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006687/0.7186, allocations: 5.086 MB / 0.5104 GB, free: 43.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.7187, allocations: 32 kB / 0.5104 GB, free: 43.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.502e-05/0.7188, allocations: 63.94 kB / 0.5105 GB, free: 43.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007528/0.7195, allocations: 340.6 kB / 0.5108 GB, free: 43.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/0.7221, allocations: 0.8813 MB / 0.5117 GB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003943/0.7261, allocations: 4.627 MB / 0.5162 GB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/0.7292, allocations: 0.5378 MB / 0.5167 GB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002588/0.7295, allocations: 216 kB / 0.5169 GB, free: 36.84 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.003494/0.733, allocations: 2.335 MB / 0.5192 GB, free: 34.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003741/0.7334, allocations: 221.2 kB / 0.5194 GB, free: 34.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/0.7366, allocations: 2.322 MB / 0.5217 GB, free: 31.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.7367, allocations: 12 kB / 0.5217 GB, free: 31.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.7367, allocations: 11.98 kB / 0.5217 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.7367, allocations: 11.91 kB / 0.5217 GB, free: 31.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007401/0.7441, allocations: 5.347 MB / 0.5269 GB, free: 26.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.7441, allocations: 0 / 0.5269 GB, free: 26.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.7452, allocations: 259.6 kB / 0.5272 GB, free: 26.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005777/0.7458, allocations: 249.6 kB / 0.5274 GB, free: 26.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.955e-05/0.7459, allocations: 35.98 kB / 0.5275 GB, free: 25.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003693/0.7496, allocations: 4.524 MB / 0.5319 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7496, allocations: 0 / 0.5319 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004134/0.7538, allocations: 3.297 MB / 0.5351 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008211/0.7546, allocations: 469.8 kB / 0.5356 GB, free: 17.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.7549, allocations: 28 kB / 0.5356 GB, free: 17.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.7559, allocations: 101 kB / 0.5357 GB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.7562, allocations: 101.3 kB / 0.5358 GB, free: 17.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.301e-05/0.7563, allocations: 43.98 kB / 0.5358 GB, free: 17.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00204/0.7583, allocations: 1.714 MB / 0.5375 GB, free: 15.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7583, allocations: 0 / 0.5375 GB, free: 15.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004121/0.7624, allocations: 1.527 MB / 0.539 GB, free: 13.84 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.0003376/0.7628, allocations: 166.9 kB / 0.5391 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004729/0.7675, allocations: 3.511 MB / 0.5426 GB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.7675, allocations: 4 kB / 0.5426 GB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.769, allocations: 1.262 MB / 0.5438 GB, free: 8.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.7712, allocations: 468.8 kB / 0.5443 GB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.7885, allocations: 12.75 MB / 0.5567 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004454/0.793, allocations: 4.193 MB / 0.5608 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00403/0.797, allocations: 1.291 MB / 0.5621 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000556/0.7976, allocations: 179.4 kB / 0.5622 GB, free: 5.941 MB / 398.1 MB Notification: Performance of SimCode: time 1.543e-06/0.7976, allocations: 0 / 0.5622 GB, free: 5.941 MB / 398.1 MB Notification: Performance of Templates: time 0.05839/0.856, allocations: 29.72 MB / 0.5913 GB, free: 8.219 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1)